This commit is contained in:
parent
58d37ee02b
commit
924bbd4285
@ -14,7 +14,10 @@ const fastify = Fastify({
|
|||||||
})
|
})
|
||||||
|
|
||||||
fastify.register(FastifyCors, {
|
fastify.register(FastifyCors, {
|
||||||
origin: 'ipc.localhost',
|
origin: [
|
||||||
|
'http://localhost:3000',
|
||||||
|
'tauri://localhost',
|
||||||
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
fastify.register(FastifyCookie)
|
fastify.register(FastifyCookie)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user