This commit is contained in:
maropboia 2024-05-03 11:38:43 +06:00
parent 5b4c22923b
commit eea17da08a

View file

@ -1,12 +1,23 @@
//https://nitro.unjs.io/config
// https://nitro.unjs.io/config
import { defineNitroConfig } from 'nitropack'
export default defineNitroConfig({
runtimeConfig: {
WEBHOOK_URL: process.env.WEBHOOK_URL
WEBHOOK_URL: {
public: false,
// Add any necessary environment variable validation here
// For example:
// match: /.+/,
}
},
srcDir: '.vitepress',
routeRules: {
'/': {
cors: false
}
},
// Add any additional route rules as needed
// For example:
// '/api/*': { cors: true },
}
})