From 291ecce8d3f57b8088f5aa8f1cfcfe62f80b830c Mon Sep 17 00:00:00 2001 From: Einhornimmond Date: Fri, 17 Jan 2025 11:17:25 +0100 Subject: [PATCH] refcator --- frontend/src/config/index.js | 2 +- frontend/src/config/{config.schema.js => schema.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename frontend/src/config/{config.schema.js => schema.js} (97%) diff --git a/frontend/src/config/index.js b/frontend/src/config/index.js index 1049c2e4d..c1c06e555 100644 --- a/frontend/src/config/index.js +++ b/frontend/src/config/index.js @@ -3,7 +3,7 @@ // The whole contents is exposed to the client // Load Package Details for some default values -import schema from './config.schema' +import schema from './schema' import { validateAndExport } from '../../../config' const CONFIG = { diff --git a/frontend/src/config/config.schema.js b/frontend/src/config/schema.js similarity index 97% rename from frontend/src/config/config.schema.js rename to frontend/src/config/schema.js index 96c245949..6e2455b4e 100644 --- a/frontend/src/config/config.schema.js +++ b/frontend/src/config/schema.js @@ -14,7 +14,7 @@ module.exports = commonSchema.keys({ .description( ` Host (domain, IPv4, or localhost) for the frontend when running Vite as a standalone Node.js instance; - internally, nginx forwards requests to this address. + internally, nginx forward requests to this address. `, ) .default('0.0.0.0'),