mirror of
https://github.com/khairul169/home-lab.git
synced 2026-10-02 17:13:57 +07:00
fix: ws baseurl not working on prod build
This commit is contained in:
@@ -1 +1,3 @@
|
||||
export const API_BASEURL = __DEV__ ? "http://localhost:3000" : "";
|
||||
export const API_BASEURL = __DEV__
|
||||
? "http://localhost:3000"
|
||||
: location.protocol + "//" + location.host;
|
||||
|
||||
Reference in New Issue
Block a user