dartnet 0.0.1 copy "dartnet: ^0.0.1" to clipboard
dartnet: ^0.0.1 copied to clipboard

outdatedDart 1 only

Configurable http server in dart.

Dartnet #

Configurable http server in dart.

Install #

pub global activate dartnet

Usage #

dartnet

or

pub run dartnet:dartnet

Configuration #

Dartnet use a configuration file (default: 'dartnet.yaml')

Basic #

server:
  address: "0.0.0.0"
  port: 1337
  root_directory: build

This will serve all file under the 'build' directory.

Complete #

server:
  address: "0.0.0.0"
  port: 1337
  root_directory: build
  multithread: false
  redirections:
    #404: error.html
    #500: error.html
    default: index.html #this will redirect every error to the index.html file
  log: info
  log_file: "dartnet.log"
  list_directory: false
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Configurable http server in dart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

ansicolor, jaguar, jaguar_generator_config, jaguar_mustache, resource

More

Packages that depend on dartnet