feat: implement data manager module with local and Docker storage support

This commit is contained in:
Greg 2025-05-27 00:54:41 +02:00
parent bdbe781bef
commit 3ea2f36c5c

View File

@ -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