10BC0 Headers not being set for nitro route rules in production · Issue #10576 · appwrite/appwrite · GitHub
[go: up one dir, main page]

Skip to content

Headers not being set for nitro route rules in production #10576

@whiteou7

Description

@whiteou7

👟 Reproduction steps

https://vpf-data.appwrite.network/

👍 Expected behavior

Headers being set as in preview (Image below)

👎 Actual Behavior

Headers not being set

Image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Deployed on appwrite.io without any configs.

Here is nuxt.config.ts

export default defineNuxtConfig({
  nitro: {
    routeRules: {
      "/img/**": { headers: { "cache-control": "public,max-age=31536000,s-maxage=31536000" } },
      "/_nuxt/**": { headers: { "cache-control": "public,max-age=31536000,s-maxage=31536000" } },
    }
  },
})

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

product / sitesFixes and upgrades for Appwrite Sites.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0