Skip to main content
Module

x/overlord/mod.ts>OverlordRootPathOptions

A runner for your scripts so you don't have to deploy them. 🚀
Go to Latest
interface OverlordRootPathOptions
import { type OverlordRootPathOptions } from "https://deno.land/x/overlord@v0.2.0/mod.ts";

Properties

rootPath: string

The path of the root directory in which overlord can find the runnable scripts. This can be a url or a path in the local file system.

optional
appendFileExtension: string

A file extension to append to request URLS. This allows you to request localhost:8080/hello_world instead of localhost:8080/hello_world.ts. If you use .js files, make sure to change this to .js. To avoid appending any value at all, use an empty string. For more advanced use cases, use urlMap instead.