Compare commits
No commits in common. "6c493a667df11b5cb7e37129b074b5d6316b60e7" and "f06425f7ff417a814cd6b5855414a628283ac2d3" have entirely different histories.
6c493a667d
...
f06425f7ff
|
|
@ -1,4 +0,0 @@
|
|||
import { GIT_SHA } from "@/config"
|
||||
export default function () {
|
||||
return GIT_SHA
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
////
|
||||
// version: ff88168
|
||||
// version: 1d6a7bc
|
||||
|
||||
// src/js/dom.ts
|
||||
var cmdLine = $("command-line");
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ export const NOSE_WWW = join(NOSE_DIR, "www")
|
|||
export const NOSE_DATA = resolve("./data")
|
||||
|
||||
export const NOSE_STARTED = Date.now()
|
||||
export const GIT_SHA = (await $`git rev-parse --short HEAD`.text()).trim()
|
||||
export const GIT_SHA = (await $`git rev-parse HEAD`.text()).trim()
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
import type { FC } from "hono/jsx"
|
||||
import { GIT_SHA } from "../config"
|
||||
|
||||
export const Layout: FC = async ({ children, title }) => (
|
||||
<html lang="en">
|
||||
|
|
@ -13,7 +12,7 @@ export const Layout: FC = async ({ children, title }) => (
|
|||
<link href="/css/game.css" rel="stylesheet" />
|
||||
|
||||
<script type="importmap" dangerouslySetInnerHTML={{ __html: `{ "imports": { "@/": "/" } }` }} />
|
||||
<script src={process.env.NODE_ENV === "production" ? `/bundle.js?${GIT_SHA}` : "/js/main.js"} type="module" async></script>
|
||||
<script src={process.env.NODE_ENV === "production" ? "/bundle.js" : "/js/main.js"} type="module" async></script>
|
||||
</head>
|
||||
<body data-mode="tall">
|
||||
<main>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user