From 6931fba1f534ad49ec1f4eecae2029445bbd8339 Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 5 Jul 2024 15:58:35 +1000 Subject: [PATCH] Fixing path --- hakit/config.json | 2 +- hakit/server/routes/write-file.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hakit/config.json b/hakit/config.json index 25572e7..ae75c5d 100644 --- a/hakit/config.json +++ b/hakit/config.json @@ -1,6 +1,6 @@ { "name": "Hakit", - "version": "1.0.26", + "version": "1.0.27", "slug": "hakit", "init": false, "ingress": true, diff --git a/hakit/server/routes/write-file.ts b/hakit/server/routes/write-file.ts index 76e30b7..48d24b7 100644 --- a/hakit/server/routes/write-file.ts +++ b/hakit/server/routes/write-file.ts @@ -1,7 +1,7 @@ import { Request, Response } from 'express'; import { join } from 'path'; import { writeFile as fsWriteFile } from 'fs/promises'; -import { APP_DIRECTORY } from 'server/constants.js'; +import { APP_DIRECTORY } from '../constants.js'; export async function writeFile(req: Request, res: Response) { try {