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)
|
// Determine if we're running in Docker (has /data endpoint)
|
||||||
const isDockerEnvironment = () => {
|
const isDockerEnvironment = () => {
|
||||||
// Check if we're in a deployment environment with the /data endpoint
|
// Always return true for now since we're using Docker with Coolify
|
||||||
return window.location.hostname !== 'localhost' &&
|
return true;
|
||||||
window.location.hostname !== '127.0.0.1';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Storage file path for Docker environment
|
// Storage file path for Docker environment
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user