mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +02:00
Move VS Code to the root
This commit is contained in:
@@ -3,7 +3,7 @@ import { getOptions, normalize } from "../common/util"
|
||||
const options = getOptions()
|
||||
|
||||
if ("serviceWorker" in navigator) {
|
||||
const path = normalize(`${options.base}/static-${options.commit}/dist/serviceWorker.js`)
|
||||
const path = normalize(`${options.base}/static/${options.commit}/dist/serviceWorker.js`)
|
||||
navigator.serviceWorker
|
||||
.register(path, {
|
||||
scope: options.base || "/",
|
||||
|
||||
Reference in New Issue
Block a user