2024-09-11 15:10:54 -04:00
|
|
|
//go:build wasm
|
|
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/syumai/workers"
|
|
|
|
|
)
|
|
|
|
|
|
2024-09-18 02:22:17 -04:00
|
|
|
// # Sonr.ID
|
|
|
|
|
//
|
|
|
|
|
// This App is used as an IPFS gateway proxy for exissting Sonr DWN nodes
|
2024-09-11 15:10:54 -04:00
|
|
|
func main() {
|
2024-09-18 02:22:17 -04:00
|
|
|
// TODO: Route from /ipfs/cid and /ipns/did to the gateway
|
2024-09-11 15:10:54 -04:00
|
|
|
// Configure the server
|
2024-09-18 02:22:17 -04:00
|
|
|
workers.Serve(nil)
|
2024-09-14 12:47:25 -04:00
|
|
|
}
|