mirror of
https://github.com/unraid/api.git
synced 2026-05-04 14:12:08 -05:00
chore: clean up
This commit is contained in:
+3
-1
@@ -17,8 +17,10 @@ import { useServerStore } from '~/store/server';
|
||||
* @see https://github.com/vuejs/pinia/discussions/1085
|
||||
*/
|
||||
setActivePinia(createPinia());
|
||||
|
||||
let baseUrl = window.location.origin;
|
||||
const localDevUrl = baseUrl.includes(':4321'); /** @todo use ENV */
|
||||
/** @todo use ENV */
|
||||
const localDevUrl = baseUrl.includes(':4321');
|
||||
if (localDevUrl) {
|
||||
/** @temp local dev mode */
|
||||
baseUrl = baseUrl.replace(':4321', ':3001');
|
||||
|
||||
Reference in New Issue
Block a user