mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-28 11:04:47 +08:00
19 lines
272 B
Go
19 lines
272 B
Go
package main
|
|
|
|
import (
|
|
"github.com/HFO4/cloudreve/bootstrap"
|
|
"github.com/HFO4/cloudreve/pkg/conf"
|
|
"github.com/HFO4/cloudreve/routers"
|
|
)
|
|
|
|
func init() {
|
|
bootstrap.Init("conf/conf.ini")
|
|
}
|
|
|
|
func main() {
|
|
api := routers.InitRouter()
|
|
|
|
api.Run(conf.SystemConfig.Listen)
|
|
|
|
}
|