mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-26 22:34:02 +08:00
style: set endOfLine as lf instead of crlf
This commit is contained in:
parent
0026008178
commit
51f99b94ef
@ -5,5 +5,5 @@
|
|||||||
],
|
],
|
||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"endOfLine": "crlf"
|
"endOfLine": "lf"
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ export const wsEndpointURL = () =>
|
|||||||
|
|
||||||
export const useWsRequest = <T>(
|
export const useWsRequest = <T>(
|
||||||
path: string,
|
path: string,
|
||||||
queries: Record<string, string> = {}
|
queries: Record<string, unknown> = {},
|
||||||
) => {
|
) => {
|
||||||
const queryParams = new URLSearchParams(queries)
|
const queryParams = new URLSearchParams(queries)
|
||||||
queryParams.set('token', secret() ?? '')
|
queryParams.set('token', secret() ?? '')
|
||||||
|
1
src/types/index.d.ts
vendored
1
src/types/index.d.ts
vendored
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import { LOG_LEVEL } from '~/constants'
|
import { LOG_LEVEL } from '~/constants'
|
||||||
|
|
||||||
declare module 'solid-js' {
|
declare module 'solid-js' {
|
||||||
|
Loading…
Reference in New Issue
Block a user