A new version of DeepfakeHTTP is out!
I decided to add a new --dir
option, allowing to host static content as static servers do.
However, unlike regular static servers, DeepfakeHTTP can also host executable stuff, such as shell scripts or JavaScript. In order to have JavaScript executed on the server side you need to specify 'use server'
at the beginning of the code ( similar to the well-known 'use strict'
).
Thank you to all the people who helped with advice, suggestions, and participation!
Top comments (0)