Compare commits
No commits in common. "327c7fd35d0b60116fbcca01711127017b4303ca" and "7274910a26b316c9baea5cb585634f91a1a5df9d" have entirely different histories.
327c7fd35d
...
7274910a26
|
|
@ -8,11 +8,7 @@ import { Hype } from '@because/hype'
|
||||||
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'fs'
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'fs'
|
||||||
import { dirname, join } from 'path'
|
import { dirname, join } from 'path'
|
||||||
|
|
||||||
function gitUrl(name: string): string {
|
const gitUrl = (name: string) => `${buildAppUrl('git', TOES_URL)}/${name}`
|
||||||
const git = allApps().find(a => a.name === 'git')
|
|
||||||
if (git?.port) return `http://localhost:${git.port}/${name}`
|
|
||||||
return `${buildAppUrl('git', TOES_URL)}/${name}`
|
|
||||||
}
|
|
||||||
|
|
||||||
const router = Hype.router()
|
const router = Hype.router()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user