chore: clean up

This commit is contained in:
Zack Spear
2023-07-24 14:30:52 -07:00
committed by Zack Spear
parent ffaadfdccf
commit dd360795e9
4 changed files with 18 additions and 25 deletions
+3 -1
View File
@@ -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');