wasmer/static-status-stewart
Public
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 KeyDescription
STATUSSets the HTTP status to be returned
TITLESets the title of the reponse
MSGSets 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

This package will return the preconfigured HTTP status along with a template response

More packages
This package will return the preconfigured HTTP status along with a template response
This package will return the preconfigured HTTP status along with a template response