mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-10-16 04:40:08 +02:00
「🔨」 fix: change default to vite url
This commit is contained in:
1 file changed
+1
-1
@@ -24,7 +24,7 @@ authDB.prepareDB();
|
||||
export default async function(fastify, options) {
|
||||
|
||||
fastify.register(cors, {
|
||||
origin: process.ENV.CORS_ORIGIN || '*',
|
||||
origin: process.ENV.CORS_ORIGIN || 'http://localhost:5173',
|
||||
credentials: true,
|
||||
methods: [ "GET", "POST", "DELETE", "OPTIONS" ]
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user