major redesign and refactor

+ centralized urls
+ reduce max app width
+ bump up header height to 23rem
This commit is contained in:
geoffrey45
2022-09-15 12:36:30 +03:00
parent 69b8b17e84
commit 94eb198e47
17 changed files with 179 additions and 82 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { paths } from "@/config";
import { defineStore } from "pinia";
import state from "../composables/state";
import { NotifType, useNotifStore } from "./notification";
@@ -44,7 +45,7 @@ export default defineStore("Queue", {
this.currentindex = index;
const track = this.tracklist[index];
this.currentid = track.trackid;
const uri = state.settings.uri + "/file/" + track.hash;
const uri = `${paths.api.files}/${track.hash}`;
new Promise((resolve, reject) => {
audio.autoplay = true;