diff --git a/.gitignore b/.gitignore index 5daf2d735..d19a74c55 100644 --- a/.gitignore +++ b/.gitignore @@ -133,4 +133,3 @@ dist # VSCode user settings .vscode/settings.json -.vscode/settings.default.json diff --git a/package-lock.json b/package-lock.json index 1ff714d6c..192e5f4b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,6 @@ "axios": "^1.5.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", - "express": "^4.18.2", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "nest-commander": "^3.9.0", diff --git a/package.json b/package.json index ad32d7765..c5941e3f9 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "axios": "^1.5.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", - "express": "^4.18.2", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "nest-commander": "^3.9.0", diff --git a/playground.http b/playground.http deleted file mode 100644 index 43be5f00b..000000000 --- a/playground.http +++ /dev/null @@ -1,29 +0,0 @@ -@host = 127.0.0.1 -@port = 9090 - -### - -GET http://{{host}}:{{port}}/docs HTTP/1.1 - -### - -POST http://{{host}}:{{port}}/api/organisation HTTP/1.1 -Content-Type: application/json - -{ - "kennung": "NI-HK-KGS", - "name": "Kooperative Gesamtschule Schwarmstedt", - "namensergaenzung": "string", - "kuerzel": "KGS", - "typ": "SCHULE" -} - -### - -@orgId = 78d9ae41-a101-4947-82cc-b0545d2b2e85 - -GET http://{{host}}:{{port}}/api/organisation/{{orgId}} HTTP/1.1 - -### - -GET http://localhost:8080/metrics HTTP/1.1 diff --git a/src/console/console.module.ts b/src/console/console.module.ts index 03d5b8e1d..443503b5f 100644 --- a/src/console/console.module.ts +++ b/src/console/console.module.ts @@ -33,7 +33,7 @@ import { DbInitConsole } from './db-init.console.js'; entitiesTs: ['./src/**/*.entity.ts'], driverOptions: { connection: { - ssl: false, + ssl: true, }, }, }); diff --git a/src/server/server.module.ts b/src/server/server.module.ts index 69eea7674..cfd2deacb 100644 --- a/src/server/server.module.ts +++ b/src/server/server.module.ts @@ -36,7 +36,7 @@ import { OrganisationApiModule } from '../modules/organisation/organisation-api. type: 'postgresql', driverOptions: { connection: { - ssl: false, + ssl: true, }, }, });