We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a40ab commit 8b1b01aCopy full SHA for 8b1b01a
1 file changed
src/rest/config/rest.constants.ts
@@ -4,4 +4,8 @@ export const REST_API_TITLE = 'Device REST API';
4
export const REST_API_DESCRIPTION = 'Administrative REST endpoints for device management';
5
export const REST_API_RELEASE = '1.0.0';
6
7
-export const CORS_ALLOWED_ORIGINS = ['*'];
+export const CORS_ALLOWED_ORIGINS = [
8
+ 'https://app.koiosdigital.net',
9
+ /^https?:\/\/localhost(:\d+)?$/,
10
+ 'capacitor://localhost',
11
+];
0 commit comments