apps command
This commit is contained in:
parent
b7e99755f1
commit
9427dd6c43
11
nose/bin/apps.tsx
Normal file
11
nose/bin/apps.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
import { apps } from "@/webapp"
|
||||||
|
|
||||||
|
export default function () {
|
||||||
|
const domain = "localhost"
|
||||||
|
let port = process.env.PORT || "3000"
|
||||||
|
port = port === "80" ? "" : `:${port}`
|
||||||
|
|
||||||
|
return <>
|
||||||
|
{apps().map(app => <><a href={`http://${app}.${domain}${port}`}>{app}</a>{" "}</>)}
|
||||||
|
</>
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user