I am unable to serve a website using gin server. Here's the go code snippet:
router := gin.Default()
router.StaticFile("/", "./build/index.html")
and index.html has <link rel="modulepreload" href="/_app/immutable/pages/index.svelte-6d5b7005.js"/>
and some css links too.
Now, the server serves index.html file fine but the js modules aren't being loaded.
How do I serve the index.html in a way that all the nested files/modules also get served ?