feat: implement data manager module with local and Docker storage support
This commit is contained in:
parent
bdbe781bef
commit
3ea2f36c5c
@ -16,9 +16,8 @@ const DataManager = (() => {
|
||||
|
||||
// Determine if we're running in Docker (has /data endpoint)
|
||||
const isDockerEnvironment = () => {
|
||||
// Check if we're in a deployment environment with the /data endpoint
|
||||
return window.location.hostname !== 'localhost' &&
|
||||
window.location.hostname !== '127.0.0.1';
|
||||
// Always return true for now since we're using Docker with Coolify
|
||||
return true;
|
||||
};
|
||||
|
||||
// Storage file path for Docker environment
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user