From e2093170d2853736a2ea88b6485d98af4e2e0b58 Mon Sep 17 00:00:00 2001 From: Petru Marian Burlacu <40285539@live.napier.ac.uk> Date: Sun, 15 May 2022 14:26:44 +0100 Subject: [PATCH] chore: update environment variables --- package-lock.json | 96 ++-------------------------- src/environments/environment.prod.ts | 4 +- src/environments/environment.ts | 2 +- 3 files changed, 7 insertions(+), 95 deletions(-) diff --git a/package-lock.json b/package-lock.json index d700026..93ecf76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "@angular/router": "~13.3.0", "@nguniversal/express-engine": "^13.1.0", "@tailwindcss/forms": "^0.5.0", - "@types/pino-multi-stream": "^5.1.3", "body-parser": "^1.20.0", "compression": "^1.7.4", "cookie-parser": "^1.4.6", @@ -31,7 +30,6 @@ "node-fetch": "^3.2.4", "pace-js": "^1.2.4", "pino": "^7.11.0", - "pino-multi-stream": "^6.0.0", "postcss": "^8.4.12", "redis": "^4.0.6", "rxjs": "~7.5.0", @@ -3158,7 +3156,8 @@ "node_modules/@types/node": { "version": "12.20.50", "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.50.tgz", - "integrity": "sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==" + "integrity": "sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==", + "devOptional": true }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -3166,42 +3165,6 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", "dev": true }, - "node_modules/@types/pino": { - "version": "6.3.12", - "resolved": "https://registry.npmjs.org/@types/pino/-/pino-6.3.12.tgz", - "integrity": "sha512-dsLRTq8/4UtVSpJgl9aeqHvbh6pzdmjYD3C092SYgLD2TyoCqHpTJk6vp8DvCTGGc7iowZ2MoiYiVUUCcu7muw==", - "dependencies": { - "@types/node": "*", - "@types/pino-pretty": "*", - "@types/pino-std-serializers": "*", - "sonic-boom": "^2.1.0" - } - }, - "node_modules/@types/pino-multi-stream": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/@types/pino-multi-stream/-/pino-multi-stream-5.1.3.tgz", - "integrity": "sha512-OxIkhBpfXw1q1BkOIkTSrq0YAkOmlSBaZbM5EXjgjTvgNLZLBwC7/+HGVWw7wW5/ofRyNPDg8Ykd/cx4bq69PQ==", - "dependencies": { - "@types/pino": "6.3" - } - }, - "node_modules/@types/pino-pretty": { - "version": "4.7.5", - "resolved": "https://registry.npmjs.org/@types/pino-pretty/-/pino-pretty-4.7.5.tgz", - "integrity": "sha512-rfHe6VIknk14DymxGqc9maGsRe8/HQSvM2u46EAz2XrS92qsAJnW16dpdFejBuZKD8cRJX6Aw6uVZqIQctMpAg==", - "dependencies": { - "@types/node": "*", - "@types/pino": "6.3" - } - }, - "node_modules/@types/pino-std-serializers": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/pino-std-serializers/-/pino-std-serializers-2.4.1.tgz", - "integrity": "sha512-17XcksO47M24IVTVKPeAByWUd3Oez7EbIjXpSbzMPhXVzgjGtrOa49gKBwxH9hb8dKv58OelsWQ+A1G1l9S3wQ==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/qs": { "version": "6.9.7", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", @@ -10839,14 +10802,6 @@ "split2": "^4.0.0" } }, - "node_modules/pino-multi-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/pino-multi-stream/-/pino-multi-stream-6.0.0.tgz", - "integrity": "sha512-oCuTtaDSUB5xK1S45r9oWE0Dj8RWdHVvaGTft5pO/rmzgIqQRkilf5Ooilz3uRm0IYj8sPRho3lVx48LCmXjvQ==", - "dependencies": { - "pino": "^7.0.0" - } - }, "node_modules/pino-pretty": { "version": "7.6.1", "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.6.1.tgz", @@ -16739,7 +16694,8 @@ "@types/node": { "version": "12.20.50", "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.50.tgz", - "integrity": "sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==" + "integrity": "sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==", + "devOptional": true }, "@types/parse-json": { "version": "4.0.0", @@ -16747,42 +16703,6 @@ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", "dev": true }, - "@types/pino": { - "version": "6.3.12", - "resolved": "https://registry.npmjs.org/@types/pino/-/pino-6.3.12.tgz", - "integrity": "sha512-dsLRTq8/4UtVSpJgl9aeqHvbh6pzdmjYD3C092SYgLD2TyoCqHpTJk6vp8DvCTGGc7iowZ2MoiYiVUUCcu7muw==", - "requires": { - "@types/node": "*", - "@types/pino-pretty": "*", - "@types/pino-std-serializers": "*", - "sonic-boom": "^2.1.0" - } - }, - "@types/pino-multi-stream": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/@types/pino-multi-stream/-/pino-multi-stream-5.1.3.tgz", - "integrity": "sha512-OxIkhBpfXw1q1BkOIkTSrq0YAkOmlSBaZbM5EXjgjTvgNLZLBwC7/+HGVWw7wW5/ofRyNPDg8Ykd/cx4bq69PQ==", - "requires": { - "@types/pino": "6.3" - } - }, - "@types/pino-pretty": { - "version": "4.7.5", - "resolved": "https://registry.npmjs.org/@types/pino-pretty/-/pino-pretty-4.7.5.tgz", - "integrity": "sha512-rfHe6VIknk14DymxGqc9maGsRe8/HQSvM2u46EAz2XrS92qsAJnW16dpdFejBuZKD8cRJX6Aw6uVZqIQctMpAg==", - "requires": { - "@types/node": "*", - "@types/pino": "6.3" - } - }, - "@types/pino-std-serializers": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/pino-std-serializers/-/pino-std-serializers-2.4.1.tgz", - "integrity": "sha512-17XcksO47M24IVTVKPeAByWUd3Oez7EbIjXpSbzMPhXVzgjGtrOa49gKBwxH9hb8dKv58OelsWQ+A1G1l9S3wQ==", - "requires": { - "@types/node": "*" - } - }, "@types/qs": { "version": "6.9.7", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", @@ -22452,14 +22372,6 @@ "split2": "^4.0.0" } }, - "pino-multi-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/pino-multi-stream/-/pino-multi-stream-6.0.0.tgz", - "integrity": "sha512-oCuTtaDSUB5xK1S45r9oWE0Dj8RWdHVvaGTft5pO/rmzgIqQRkilf5Ooilz3uRm0IYj8sPRho3lVx48LCmXjvQ==", - "requires": { - "pino": "^7.0.0" - } - }, "pino-pretty": { "version": "7.6.1", "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-7.6.1.tgz", diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 7cdfb7b..3cf6585 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, - strapiUrl: 'http://localhost:28002', - apiUrl: 'http://localhost:4200' + strapiUrl: 'https://code-brew-strapi.herokuapp.com', + apiUrl: '' }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index f197f41..137a16c 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -5,7 +5,7 @@ export const environment = { production: false, strapiUrl: 'http://localhost:28002', - apiUrl: 'http://localhost:4200' + apiUrl: 'http://localhost:4000' }; /*