mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-06-29 12:43:03 +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 { removePrefix } from "./utils";
|
||||
|
||||
@ -11,8 +10,6 @@ export default function command(
|
||||
onmessage: WebSocket["onmessage"],
|
||||
onclose: WebSocket["onclose"]
|
||||
) {
|
||||
const authStore = useAuthStore();
|
||||
|
||||
url = removePrefix(url);
|
||||
url = `${protocol}//${window.location.host}${baseURL}/api/command${url}`;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user