br-web

Crates.iobr-web
lib.rsbr-web
version0.4.27
sourcesrc
created_at2023-04-02 07:38:13.574549
updated_at2024-05-13 18:30:08.770668
descriptionThis is an WEB SERVER
homepage
repository
max_upload_size
id827908
size103,968
携带 (carryxd)

documentation

README

br-web 网站服务端


License Crates.io Version

macOS 安装SSL证书

brew install mkcert
brew install nss
mkcert -install
mkcert -key-file ssl/127.0.0.1.key -cert-file ssl/127.0.0.1.pem localhost 127.0.0.1
{
    "ip": "0.0.0.0",
    "port": 8080,
    "domain": "127.0.0.1",
    "public": "/public",
    "runtime": "/runtime",
    "cors": {
        "allow_origin": [],
        "allow_methods": "GET,POST",
        "allow_headers": "content-type",
        "allow_credentials": true,
        "expose_headers": "content-disposition",
        "max_age": 1800
    },
    "ssl": false,
    "ssl_pkey": "/ssl/server.key",
    "ssl_certs": "/ssl/server.pem"
}
Commit count: 0

cargo fmt