diff --git a/package-lock.json b/package-lock.json index b5d265d..9b926eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tether", - "version": "0.6.0", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tether", - "version": "0.6.0", + "version": "0.8.0", "license": "GPL-3.0-only", "dependencies": { "@fastify/cookie": "^11.0.2", diff --git a/package.json b/package.json index 667b0b7..7545323 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tether", - "version": "0.7.0", + "version": "0.8.0", "description": "Communication server using the Nexlink protocol", "repository": { "type": "git", diff --git a/src/index.ts b/src/index.ts index 0747c9a..99e5759 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,7 +28,12 @@ const app = Fastify({ }); app.register(cors, { - origin: "http://localhost:3000", + origin: [ + "http://localhost:3000", + "http://localhost:4173", + "http://192.168.11.101:4173", + "https://pulsar.aslan2142.space", + ], credentials: true, methods: ["GET", "POST", "PATCH", "DELETE", "OPTIONS"], });