mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 08:00:45 +00:00
fix cli.svelte
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
import { page } from '$app/stores'
|
||||
import CenteredModal from '$lib/components/CenteredModal.svelte'
|
||||
import { Button } from '$lib/components/common'
|
||||
import { workspaceStore, usersWorkspaceStore } from '$lib/stores'
|
||||
import { workspaceStore } from '$lib/stores'
|
||||
|
||||
let port = Number($page.url.searchParams.get('port'))
|
||||
port = port == 0 || port == NaN ? 80 : port
|
||||
port = port == 0 || Number.isNaN(port) ? 80 : port
|
||||
|
||||
async function authorizeToken(): Promise<void> {
|
||||
const newToken = await UserService.createToken({
|
||||
|
||||
Reference in New Issue
Block a user