angel_proxy 1.0.0-dev+3 copy "angel_proxy: ^1.0.0-dev+3" to clipboard
angel_proxy: ^1.0.0-dev+3 copied to clipboard

outdated

Angel middleware to forward requests to another server (i.e. pub serve).

angel_proxy #

version 1.0.0-dev+3 build status

Angel middleware to forward requests to another server (i.e. pub serve). Based on this repo.

import 'package:angel_proxy/angel_proxy.dart';

main() async {
  // ...
  
  // Forward requests instead of serving statically
  await app.configure(new ProxyLayer('localhost', 3000));
  
  // Or, use one for pub serve.
  //
  // This automatically deactivates itself if the app is
  // in production.
  await app.configure(new PubServeLayer());
}
0
likes
0
pub points
0%
popularity

Publisher

verified publisherangel-dart.dev

Angel middleware to forward requests to another server (i.e. pub serve).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

angel_framework

More

Packages that depend on angel_proxy