File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import logo from "../assets/images/logo.png" ;
22
33export function serverUrl_fn ( ) {
4- let baseUrl ;
5- baseUrl = process . env . REACT_APP_SERVERURL
6- ? process . env . REACT_APP_SERVERURL
7- : window . location . origin + "/app" ;
8-
4+ let baseUrl = process . env . REACT_APP_SERVERURL
5+ ? process . env . REACT_APP_SERVERURL
6+ : window . location . origin + "/api/app" ;
97 return baseUrl ;
108}
119export const appInfo = {
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ dotenv.config();
66
77export const cloudServerUrl = 'http://localhost:8080/app' ;
88export const appName = 'OpenSign™' ;
9- export function customAPIurl ( ) {
10- const url = new URL ( cloudServerUrl ) ;
11- return url . pathname === '/api/app' ? url . origin + '/api' : url . origin ;
12- }
139
1410export const color = [
1511 '#93a3db' ,
You can’t perform that action at this time.
0 commit comments