parent
9067791e38
commit
0312588535
2 changed files with 2 additions and 5 deletions
@ -1,2 +1,2 @@ |
|||||||
# Use this to set a different origin |
# Use this to set a different origin |
||||||
NEXT_PUBLIC_API_URL=/cgi-bin |
NEXT_PUBLIC_API_URL=/api |
||||||
|
@ -1,6 +1,3 @@ |
|||||||
const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL?.replace( |
const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL; |
||||||
'/cgi-bin', |
|
||||||
'/api', |
|
||||||
); |
|
||||||
|
|
||||||
export default API_BASE_URL; |
export default API_BASE_URL; |
||||||
|
Loading…
Reference in new issue