forked from mirrors/homebox
frontend: cleanup
* dummy commit * cleanup workflows * setup and run eslint * add linter to CI * use eslint for formatting * reorder rules * drop editor config
This commit is contained in:
parent
78fa714297
commit
75c633dcb5
65 changed files with 2048 additions and 641 deletions
|
@ -1,6 +1,6 @@
|
|||
const parts = {
|
||||
host: 'http://localhost.com',
|
||||
prefix: '/api/v1',
|
||||
host: "http://localhost.com",
|
||||
prefix: "/api/v1",
|
||||
};
|
||||
|
||||
export function overrideParts(host: string, prefix: string) {
|
||||
|
@ -32,5 +32,5 @@ export function route(rest: string, params: Record<string, QueryValue> = {}): st
|
|||
}
|
||||
}
|
||||
|
||||
return url.toString().replace('http://localhost.com', '');
|
||||
return url.toString().replace("http://localhost.com", "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue