Refactor API URLs to use GlobalConstants and update CORS configurations for production

This commit is contained in:
liosha84
2025-07-28 13:15:44 +03:00
parent 88f0cf307e
commit c58dd4ac5c
45 changed files with 587 additions and 72 deletions
@@ -1,3 +1,7 @@
export const environment = {
default_page: 'main/generate-image'
default_page: 'main/generate-image',
port: 8080,
fromWeb: false,
production: false,
host_name: 'http://localhost',
};
@@ -0,0 +1,7 @@
export const environment = {
default_page: 'main/generate-image',
port: 8081,
production: true,
fromWeb: true,
host_name: 'https://jambotron.run.place'
};
+5 -1
View File
@@ -1,3 +1,7 @@
export const environment = {
default_page: 'main/generate-image'
default_page: 'main/generate-image',
port: 8080,
production: true,
fromWeb: false,
host_name: 'http://localhost'
};