Home News DOC Class DL Others Rice
DOC  >  Usage  >  Mapping
Mapping

mapping local file and virtual host name

The htmls subdirectory of Cooker's execution directory is mapped to the domain "htmls.cooker".

You can read local Html files under the htmls directory using the https or http protocol.

https://htmls.cooker/...

http://htmls.cooker/...

In mapped local html files, All cross origin resource access is allowed, including accesses that are subject to Cross-Origin Resource Sharing(CORS) check.

Previous
Copyright © Rice All rights reserved.