Refactor API URLs to use GlobalConstants and update CORS configurations for production
This commit is contained in:
@@ -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'
|
||||
};
|
||||
@@ -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'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user