new api endpoint and api rate limit
This commit is contained in:
@@ -5,14 +5,6 @@
|
||||
const PRODUCTION_API_ORIGIN = 'https://api.ospab.host';
|
||||
|
||||
const resolveDefaultApiUrl = () => {
|
||||
if (typeof window === 'undefined') {
|
||||
return import.meta.env.DEV ? 'http://localhost:5000' : PRODUCTION_API_ORIGIN;
|
||||
}
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
return 'http://localhost:5000';
|
||||
}
|
||||
|
||||
return PRODUCTION_API_ORIGIN;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user