File tree Expand file tree Collapse file tree 3 files changed +3
-314
lines changed Expand file tree Collapse file tree 3 files changed +3
-314
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import logo from "../assets/images/logo.png" ;
2
2
3
3
export 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" ;
9
7
return baseUrl ;
10
8
}
11
9
export const appInfo = {
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ dotenv.config();
6
6
7
7
export const cloudServerUrl = 'http://localhost:8080/app' ;
8
8
export 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
- }
13
9
14
10
export const color = [
15
11
'#93a3db' ,
You can’t perform that action at this time.
0 commit comments