- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
11 lines
324 B
JavaScript
11 lines
324 B
JavaScript
import path from 'path';
|
|
import isDockerFunction from 'next/dist/compiled/is-docker';
|
|
export function getStorageDirectory(distDir) {
|
|
const isLikelyEphemeral = isDockerFunction();
|
|
if (isLikelyEphemeral) {
|
|
return undefined;
|
|
}
|
|
return path.join(distDir, 'cache');
|
|
}
|
|
|
|
//# sourceMappingURL=cache-dir.js.map
|