- 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
22 lines
782 B
JavaScript
22 lines
782 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "after", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return after;
|
|
}
|
|
});
|
|
const _workasyncstorageexternal = require("../app-render/work-async-storage.external");
|
|
function after(task) {
|
|
const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
|
|
if (!workStore) {
|
|
// TODO(after): the linked docs page talks about *dynamic* APIs, which after soon won't be anymore
|
|
throw new Error('`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context');
|
|
}
|
|
const { afterContext } = workStore;
|
|
return afterContext.after(task);
|
|
}
|
|
|
|
//# sourceMappingURL=after.js.map
|