urouter/README.md

471 B

urouter

Fork of ivabus/aliurl that routes statically.

Installation

git clone https://github.com/ivabus/urouter
cd urouter

Edit alias.json and cargo run

alias.json example

[
  {
    "uri": "uri",
    "alias": "file"
  },
  {
    "uri": "uri2",
    "alias": "http://example.com",
    "is_url": true
  }
]

License

The project is licensed under the terms of the MIT license.%