Static Directory In SSR πΎ
Since HappyX v1.1.0 You can declare static directories with two ways β
URL Path Is Static Dir π
serve(...):
# /myDir/subdir/file.txt returns /myDir/subdir/file.txt
staticDir "myDir"Custom URL Path β¨
serve(...):
# /myPath/subdir/file.txt returns /myDir/subdir/file.txt
staticDir "/myPath" -> "myDir"