tangled
alpha
login
or
join now
vielle.dev
/
atcities.dev
8
fork
atom
[WIP] A (somewhat barebones) atproto app for creating custom sites without hosting!
8
fork
atom
overview
issues
pulls
pipelines
server: use a src directory for sanity
vielle.dev
5 months ago
137b7aac
9f5e0e5d
+2
-2
5 changed files
expand all
collapse all
unified
split
deno.json
src
index.ts
root.ts
user.ts
www
index.html
+1
-1
deno.json
···
1
1
{
2
2
"tasks": {
3
3
-
"dev": "PORT=8000 deno run --watch --allow-net --allow-env=HOSTNAME,PORT,NODE_ENV main.ts"
3
3
+
"dev": "PORT=8000 deno run --watch --allow-net --allow-env=HOSTNAME,PORT,NODE_ENV src/index.ts"
4
4
},
5
5
"imports": {
6
6
"@atcute/identity-resolver": "npm:@atcute/identity-resolver@^1.1.3"
index/index.html
src/www/index.html
main.ts
src/index.ts
+1
-1
root.ts
src/root.ts
···
1
1
-
import index from "./index/index.html" with { type: "text" };
1
1
+
import index from "./www/index.html" with { type: "text" };
2
2
3
3
export default function (req: Request) {
4
4
if (new URL(req.url).pathname === "/")
user.ts
src/user.ts