mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-06-30 05:02:59 +00:00
fix: remove unused import
This commit is contained in:
parent
c1e4fd648b
commit
c232d41f90
@ -1,4 +1,3 @@
|
|||||||
import { useAuthStore } from "@/stores/auth";
|
|
||||||
import { baseURL } from "@/utils/constants";
|
import { baseURL } from "@/utils/constants";
|
||||||
import { removePrefix } from "./utils";
|
import { removePrefix } from "./utils";
|
||||||
|
|
||||||
@ -11,8 +10,6 @@ export default function command(
|
|||||||
onmessage: WebSocket["onmessage"],
|
onmessage: WebSocket["onmessage"],
|
||||||
onclose: WebSocket["onclose"]
|
onclose: WebSocket["onclose"]
|
||||||
) {
|
) {
|
||||||
const authStore = useAuthStore();
|
|
||||||
|
|
||||||
url = removePrefix(url);
|
url = removePrefix(url);
|
||||||
url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;
|
url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user