Serve static assets directly from server

Using silverbullet as a middleman between web client and static files can be slow, as the main advantage of SB is to dynamically generate or organize stuff, not directly serving static assets.

To circumvent this or add additional cache policy from the server, one can write a lua function to jump to a dedicated server, running at eg. a subdomain one's SB space.

To see an example, consider

https://wentaoli.xyz/custom_functions#noteLink

where .fs is used for localhost and a dedicated static subdomain mapped to SB space via nginx is used for online access.

That the address 127.0.0.1 is not added to the if statement is intentional: I can test the "online" behavior when running on this fake localhost. But it can be added to the if statement, naturally