feat: Introduce dedicated settings page with API URL configuration and data management hooks, and update Dockerfile for runtime env injection.
This commit is contained in:
5
k-notes-frontend/public/env-config.js
Normal file
5
k-notes-frontend/public/env-config.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// Default environment configuration for development
|
||||
// This file is replaced at Docker container startup with runtime values
|
||||
window.env = {
|
||||
// API_URL will be injected by Docker, or can be overridden via localStorage
|
||||
};
|
||||
Reference in New Issue
Block a user