A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
server(themes): make themes server port configurable
Abdullah Atta534b8103508b
diff --git a/servers/themes/src/server.ts b/servers/themes/src/server.tsindex 3a5178179..d1c0d5dce 100644--- a/servers/themes/src/server.ts+++ b/servers/themes/src/server.ts@@ -27,8 +27,9 @@ const server = createHTTPServer({router: ThemesAPI});const PORT = parseInt(process.env.PORT || "9000");-server.listen(PORT);-console.log(`Server started successfully on: http://localhost:${PORT}/`);+const HOST = process.env.HOST || "localhost";+server.listen(PORT, HOST);+console.log(`Server started successfully on: http://${HOST}:${PORT}/`);syncThemes();