Compare commits
No commits in common. "310994b77c92b56e17bb8222eb17b3a8aa8da766" and "13fa2b202a04c6449919507603574607c3b8a837" have entirely different histories.
310994b77c
...
13fa2b202a
|
|
@ -1,6 +1,6 @@
|
||||||
import { Hype } from '@because/hype'
|
import { Hype } from '@because/hype'
|
||||||
import { define, stylesToCSS } from '@because/forge'
|
import { define, stylesToCSS } from '@because/forge'
|
||||||
import { baseStyles, ToolScript, theme, on } from '@because/toes/tools'
|
import { baseStyles, ToolScript, theme } from '@because/toes/tools'
|
||||||
import { mkdirSync } from 'fs'
|
import { mkdirSync } from 'fs'
|
||||||
import { mkdir, readdir, readlink, rm, stat } from 'fs/promises'
|
import { mkdir, readdir, readlink, rm, stat } from 'fs/promises'
|
||||||
import { join, resolve } from 'path'
|
import { join, resolve } from 'path'
|
||||||
|
|
@ -536,11 +536,6 @@ function RepoListPage({ baseUrl, repos }: RepoListPageProps) {
|
||||||
|
|
||||||
mkdirSync(REPOS_DIR, { recursive: true })
|
mkdirSync(REPOS_DIR, { recursive: true })
|
||||||
|
|
||||||
on('app:delete', async ({ app: name }) => {
|
|
||||||
const bare = repoPath(name)
|
|
||||||
if (await dirExists(bare)) await rm(bare, { recursive: true, force: true })
|
|
||||||
})
|
|
||||||
|
|
||||||
app.get('/ok', c => c.text('ok'))
|
app.get('/ok', c => c.text('ok'))
|
||||||
|
|
||||||
app.get('/styles.css', c =>
|
app.get('/styles.css', c =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user