@studyportals/cors 2.6.0 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/cors",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -10,7 +10,7 @@
10
10
  "deploy-minor": "npm version minor && npm run deploy",
11
11
  "deploy-major": "npm version major && npm run deploy",
12
12
  "prepare-deployment": "cp package.json bin/package.json",
13
- "deploy": "npm run build && npm run prepare-deployment && npm publish bin",
13
+ "deploy": "npm run build && npm run prepare-deployment && npm publish ./bin",
14
14
  "build": "rm -rf bin && tsc && rm -rf bin/test",
15
15
  "lint": "tslint 'src/**/*.ts'",
16
16
  "lint-fix": "tslint --fix 'src/**/*.ts'",
@@ -33,7 +33,10 @@ exports.AllowedExplicitDomainsRules = {
33
33
  maxAge: 3000
34
34
  },
35
35
  [environment_1.Environment.Testing]: {
36
- allowedOrigins: ["*-uniadmin.prtl.fyi", "https://administration.dev.studyportals.eu:*", "*-uniadmin.studyportals.eu"],
36
+ allowedOrigins: ["*-uniadmin.prtl.fyi",
37
+ "*.administration.tst.studyportals.eu", "administration.tst.studyportals.eu",
38
+ "https://administration.dev.studyportals.eu:*",
39
+ "*-uniadmin.studyportals.eu"],
37
40
  allowedMethods: ["GET"],
38
41
  allowedHeaders: ["*"],
39
42
  exposedHeaders: [],