Adjust train detail dtop box to space out PIS details
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { dev } from '$app/environment';
|
||||
|
||||
const testUrl: string = 'http://localhost:8460'
|
||||
const prodUrl: string = 'https://owlboard.info'
|
||||
|
||||
export function getApiUrl() {
|
||||
if (dev) {
|
||||
console.info('DEVMODE active, using testing URL');
|
||||
return 'http://localhost:8460';
|
||||
console.info('DEVMODE active, using testing URL: ', testUrl);
|
||||
return testUrl;
|
||||
}
|
||||
return 'https://owlboard.info';
|
||||
return prodUrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user