Skip to content

Commit 691a48e

Browse files
committed
build with vite
1 parent cd188f3 commit 691a48e

14 files changed

Lines changed: 56 additions & 56 deletions

backend/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import postgres from "postgres";
22
import { authenticate, type authResponse, getCookies } from "./auth.ts";
33

4-
// const STATIC_DIR = "dist"
5-
const STATIC_DIR = "dist";
4+
const STATIC_DIR = "dist"
5+
// const STATIC_DIR = "frontend";
66

77
async function serveFile(req: Request, filePath: string) {
88
let theme = "cream";
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/site-Ba8IbT3B.js

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/site-j48HO395.js

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/editor.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1010
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap" rel="stylesheet">
1111
<title>Platformed - Editor</title>
12-
<script type="module" crossorigin src="/assets/editor-tMltRMIc.js"></script>
12+
<script type="module" crossorigin src="/assets/editor-DpU4FxMv.js"></script>
1313
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-EeOZK34R.js">
14-
<link rel="modulepreload" crossorigin href="/assets/site-j48HO395.js">
14+
<link rel="modulepreload" crossorigin href="/assets/site-Ba8IbT3B.js">
1515
<link rel="stylesheet" crossorigin href="/assets/login-GD92ah_R.css">
16-
<link rel="stylesheet" crossorigin href="/assets/style-Cn_Qz2A2.css">
16+
<link rel="stylesheet" crossorigin href="/assets/style-CTHOrcdF.css">
1717
</head>
1818

1919
<body>
@@ -116,14 +116,14 @@ <h1 class="title"><a href="/">Platformed</a></h1>
116116
</select>
117117
</div>
118118
<div class="options">
119-
<img src="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20640'%3e%3c!--!Font%20Awesome%20Free%207.2.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202026%20Fonticons,%20Inc.--%3e%3cpath%20d='M232.7%2069.9L224%2096L128%2096C110.3%2096%2096%20110.3%2096%20128C96%20145.7%20110.3%20160%20128%20160L512%20160C529.7%20160%20544%20145.7%20544%20128C544%20110.3%20529.7%2096%20512%2096L416%2096L407.3%2069.9C402.9%2056.8%20390.7%2048%20376.9%2048L263.1%2048C249.3%2048%20237.1%2056.8%20232.7%2069.9zM512%20208L128%20208L149.1%20531.1C150.7%20556.4%20171.7%20576%20197%20576L443%20576C468.3%20576%20489.3%20556.4%20490.9%20531.1L512%20208z'/%3e%3c/svg%3e" title="delete step">
119+
<div class="svg delete on-accent"></div>
120120
</div>
121121
</div>
122122
</div>
123123
</div>
124124
<div class="buttons">
125125
<div id="new">
126-
<img src="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20640'%3e%3c!--!Font%20Awesome%20Free%207.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202026%20Fonticons,%20Inc.--%3e%3cpath%20d='M352%20128C352%20110.3%20337.7%2096%20320%2096C302.3%2096%20288%20110.3%20288%20128L288%20288L128%20288C110.3%20288%2096%20302.3%2096%20320C96%20337.7%20110.3%20352%20128%20352L288%20352L288%20512C288%20529.7%20302.3%20544%20320%20544C337.7%20544%20352%20529.7%20352%20512L352%20352L512%20352C529.7%20352%20544%20337.7%20544%20320C544%20302.3%20529.7%20288%20512%20288L352%20288L352%20128z'/%3e%3c/svg%3e" title="add step">
126+
<div class="svg new"></div>
127127
</div>
128128
<input type="submit" class="submit apply" value="apply">
129129
</div>
@@ -350,4 +350,4 @@ <h1>login</h1>
350350
</div>
351351
</body>
352352

353-
</html>
353+
</html>

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
99
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap" rel="stylesheet">
1010
<title>Platformed</title>
11-
<script type="module" crossorigin src="/assets/main-BOHqUYQo.js"></script>
11+
<script type="module" crossorigin src="/assets/main-tQxmNB6d.js"></script>
1212
<link rel="modulepreload" crossorigin href="/assets/modulepreload-polyfill-EeOZK34R.js">
1313
<link rel="stylesheet" crossorigin href="/assets/home-ClEfntOQ.css">
14-
<link rel="stylesheet" crossorigin href="/assets/style-Cn_Qz2A2.css">
14+
<link rel="stylesheet" crossorigin href="/assets/style-CTHOrcdF.css">
1515
</head>
1616

1717
<body>

0 commit comments

Comments
 (0)