1.3.0-deprecated • Published 7 months ago

@layerart/serve-art v1.3.0-deprecated

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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-art

Global installation and terminal use

npm i -g @layerart/serve-art
serve-art
1.3.0-deprecated

7 months ago

1.2.0

12 months ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago