mirror of
https://git.tuxpa.in/a/code-server.git
synced 2025-01-08 17:38:44 +00:00
16 lines
398 B
TypeScript
16 lines
398 B
TypeScript
import { getOptions } from "../../common/util"
|
|
|
|
import "./app.css"
|
|
import "./error.css"
|
|
import "./global.css"
|
|
import "./home.css"
|
|
import "./login.css"
|
|
import "./update.css"
|
|
|
|
const options = getOptions()
|
|
const parts = window.location.pathname.replace(/^\//g, "").split("/")
|
|
parts[parts.length - 1] = options.base
|
|
const url = new URL(window.location.origin + "/" + parts.join("/"))
|
|
|
|
console.log(url)
|