
wasmer/static-status-stewart
Public

Public
wasmer run wasmer/static-status-stewart
wasmer run wasmer/static-status-stewart
Static Status Steward
This tool was developed to allow for custom status codes depending on the reason of disablement.
Usage
Select the package in app.yaml
and then configure the response.
Set environment variables:
Env Key | Description |
---|---|
STATUS | Sets the HTTP status to be returned |
TITLE | Sets the title of the reponse |
MSG | Sets the message of the response |
Example
name: app_disabled_page
owner: wasmer
package: wasmer/static-status-stewart@^0.1.2
env:
STATUS: "410"
TITLE: "App Disabled"
MSG: "Your app has been disabled."
scaling:
mode: single_concurrency
kind: wasmer.io/App.v0