mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: change default to vite url
This commit is contained in:
@ -24,7 +24,7 @@ authDB.prepareDB();
|
|||||||
export default async function(fastify, options) {
|
export default async function(fastify, options) {
|
||||||
|
|
||||||
fastify.register(cors, {
|
fastify.register(cors, {
|
||||||
origin: process.ENV.CORS_ORIGIN || '*',
|
origin: process.ENV.CORS_ORIGIN || 'http://localhost:5173',
|
||||||
credentials: true,
|
credentials: true,
|
||||||
methods: [ "GET", "POST", "DELETE", "OPTIONS" ]
|
methods: [ "GET", "POST", "DELETE", "OPTIONS" ]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user