mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Remove accidental file: log.json
This commit is contained in:
parent
3476f45b41
commit
5ee682ef8f
2 changed files with 1 additions and 227 deletions
226
log.json
226
log.json
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@ export const frontendController: AppMiddleware = async (c) => {
|
||||||
c.header('Cache-Control', 'max-age=86400, s-maxage=30, public, stale-if-error=604800');
|
c.header('Cache-Control', 'max-age=86400, s-maxage=30, public, stale-if-error=604800');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const content = await Deno.readTextFile(new URL('../../public/index.html', import.meta.url));
|
const content = await Deno.readTextFile(new URL('../../../public/index.html', import.meta.url));
|
||||||
|
|
||||||
if (content.includes(META_PLACEHOLDER)) {
|
if (content.includes(META_PLACEHOLDER)) {
|
||||||
const params = getPathParams(c.req.path);
|
const params = getPathParams(c.req.path);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue