You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{defineConfig}from"astro/config"importnodefrom"@astrojs/node"importvuefrom"@astrojs/vue"importsvgLoaderfrom"@gkatsanos/vite-svg-loader"importtailwindfrom"@astrojs/tailwind"importrobotsTxtfrom"astro-robots-txt"// https://astro.build/configexportdefaultdefineConfig({server: {port: 3000,host: "0.0.0.0",},output: "server",adapter: node({mode: "standalone",}),build: {assets: "requests-frontend/_astro",},vite: {server: {proxy: {"^/octopus/api/.*": {target: "https://www.wlw-staging.de",changeOrigin: true,},},},plugins: [svgLoader({defaultImport: "url",// or 'raw'}),],ssr: {noExternal: ["path-to-regexp"],},optimizeDeps: {// Why? dd-trace attempts to patch graphql, but it's not a dependency of this project.exclude: ["graphql"],},},integrations: [vue(),tailwind(),robotsTxt({policy: [{userAgent: "*",// The next line enables or disables the crawling on the `robots.txt` leveldisallow: "/",},],}),],})
Looking at the HTML and the network tab, dont see a robots file or a meta tag.. whats up?
btw my Astro app is served from a sub-directory ( www.example.com/myastroapp/ ) with an nginx webserver on top of it.
The text was updated successfully, but these errors were encountered:
Here's my astro config:
Looking at the HTML and the network tab, dont see a robots file or a meta tag.. whats up?
btw my Astro app is served from a sub-directory ( www.example.com/myastroapp/ ) with an nginx webserver on top of it.
The text was updated successfully, but these errors were encountered: