mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
major redesign and refactor
+ centralized urls + reduce max app width + bump up header height to 23rem
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { paths } from "@/config";
|
||||
import { Folder, Track } from "@/interfaces";
|
||||
import state from "../state";
|
||||
import useAxios from "./useAxios";
|
||||
|
||||
export default async function (path: string) {
|
||||
@@ -9,7 +9,7 @@ export default async function (path: string) {
|
||||
}
|
||||
|
||||
const { data, error } = await useAxios({
|
||||
url: `${state.settings.uri}/folder`,
|
||||
url: paths.api.folder,
|
||||
props: {
|
||||
folder: path,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user