mirror of
https://github.com/coder/code-server.git
synced 2026-05-07 21:07:26 +02:00
Move login JS to a separate file
Mostly so the base URL resolution code can be shared.
This commit is contained in:
7
src/browser/pages/login.ts
Normal file
7
src/browser/pages/login.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { getOptions } from "../../common/util"
|
||||
|
||||
const options = getOptions()
|
||||
const el = document.getElementById("base") as HTMLInputElement
|
||||
if (el) {
|
||||
el.value = options.base
|
||||
}
|
||||
Reference in New Issue
Block a user