mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-07-01 03:01:09 +00:00
![mlctrez](/assets/img/avatar_default.png)
Co-authored-by: James Mills <prologic@shortcircuit.net.au> Co-authored-by: James Mills <james@mills.io> Co-authored-by: mlctrez <mlctrez@gmail.com> Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/77 Co-authored-by: mlctrez <mlctrez@noreply@mills.io> Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
20 lines
337 B
Go
20 lines
337 B
Go
package main
|
|
|
|
import (
|
|
"github.com/maxence-charriere/go-app/v9/pkg/app"
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
"go.mills.io/saltyim"
|
|
"go.mills.io/saltyim/internal/pwa/routes"
|
|
)
|
|
|
|
func init() {
|
|
log.SetLevel(log.DebugLevel)
|
|
saltyim.SetResolver(&saltyim.DNSOverHTTPResolver{})
|
|
}
|
|
|
|
func main() {
|
|
routes.AddRoutes()
|
|
app.RunWhenOnBrowser()
|
|
}
|