1.3.0-deprecated • Published 7 months ago
@layerart/serve-art v1.3.0-deprecated
DEPRECATED @layerart/serve-art
Please use https://sandbox.layer.com/
A small tool for serving the files in a directory so that they can be displayed in an iframe on the Layer submission platform. This server creates a tunnel in order to provide security compatibility in the browser.
Command line options
- --port,-p - Set the port for the server, default is 8080.
- --host,-h - Set the host for the server, default is 0.0.0.0 or 127.0.0.1.
- --root,-r - Set the root directory for the server, default is cwd.
- --sandbox,-s - Specify the sandbox url. Default: https://app.layer.com/submissions/generative/sandbox
- --tunnel_host,-t - Specify the tunnel host. Default https://layerproxy.com
Usage
npx @layerart/serve-artGlobal installation and terminal use
npm i -g @layerart/serve-art
serve-art