fix(striker-ui): migrate /cgi-bin->/api

main
Tsu-ba-me 2 years ago
parent 9067791e38
commit 0312588535
  1. 2
      striker-ui/.env
  2. 5
      striker-ui/lib/consts/API_BASE_URL.ts

@ -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…
Cancel
Save