aboutsummaryrefslogtreecommitdiff
path: root/production/app
diff options
context:
space:
mode:
authorDanijel Anđelković <adanijel99@gmail.com>2022-04-14 00:16:50 +0200
committerDanijel Anđelković <adanijel99@gmail.com>2022-04-14 00:16:50 +0200
commit8733ac0770aab10231b59d0398acd33765936247 (patch)
tree1d19233278ce9822c13f5482f96c5e52532fc1b7 /production/app
parent62939a4639c8bef9c520ac0a30613f16a65f4df1 (diff)
Dodao servis za citanje konfiguracije tako da moze da se promeni u buildovanoj angular aplikaciji.
Diffstat (limited to 'production/app')
-rw-r--r--production/app/config.json3
-rw-r--r--production/app/main.js2
2 files changed, 1 insertions, 4 deletions
diff --git a/production/app/config.json b/production/app/config.json
deleted file mode 100644
index 0e0dcd23..00000000
--- a/production/app/config.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-
-} \ No newline at end of file
diff --git a/production/app/main.js b/production/app/main.js
index 336f21fe..8a34b066 100644
--- a/production/app/main.js
+++ b/production/app/main.js
@@ -4,7 +4,7 @@ const path = require('path');
const app = express();
-const port = 8080;
+const port = 10091;
app.use(cors());
app.use(express.static(path.join(__dirname, './dist')));