🗑️ Clean up project
This commit is contained in:
@@ -77,7 +77,7 @@ type CertificateConfig struct {
|
||||
func RunServer(app *fiber.App, ports []string, securedPorts []string) {
|
||||
var certs []CertificateConfig
|
||||
raw, _ := jsoniter.Marshal(viper.Get("hypertext.certificate"))
|
||||
jsoniter.Unmarshal(raw, &certs)
|
||||
_ = jsoniter.Unmarshal(raw, &certs)
|
||||
|
||||
tlsCfg := &tls.Config{
|
||||
MinVersion: tls.VersionTLS12,
|
||||
@@ -118,6 +118,8 @@ func RunServer(app *fiber.App, ports []string, securedPorts []string) {
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
log.Info().Msgf("Listening for %s... http://0.0.0.0%s", app.Config().AppName, port)
|
||||
}
|
||||
|
||||
for _, port := range securedPorts {
|
||||
@@ -131,5 +133,7 @@ func RunServer(app *fiber.App, ports []string, securedPorts []string) {
|
||||
log.Panic().Err(err).Msg("An error occurred when listening hypertext tls ports.")
|
||||
}
|
||||
}()
|
||||
|
||||
log.Info().Msgf("Listening for %s... https://0.0.0.0%s", app.Config().AppName, port)
|
||||
}
|
||||
}
|
||||
|
@@ -68,7 +68,7 @@
|
||||
<div class="text-center">
|
||||
{{embed}}
|
||||
|
||||
<footer class="mt-3 text-sm text-neutral">
|
||||
<footer class="mt-3 text-sm">
|
||||
<p>
|
||||
Powered by
|
||||
<a href="https://wiki.smartsheep.studio/roadsign/index.html" target="_blank" class="link link-primary">
|
||||
|
Reference in New Issue
Block a user