import { NestFactory } from "https://deno.land/x/oak_nest@v2.0.0/modules/mysql/example/deps.ts";
start serve view and static assets.
If has prefix either api or view of static assets, it will be served self without other check, so it`s a good idea to set prefix if you want to have a good performance.
Then it will check the extension of the pathname, if its optioned such as
ejs`, it will be served view, otherwise it will be served static assets.
But if there is index.html in the static assets, it will be served first before the view.