You've already forked openaccounting-server
mirror of
https://github.com/openaccounting/oa-server.git
synced 2025-12-09 09:00:42 +13:00
add api prefix option
This commit is contained in:
@@ -40,7 +40,7 @@ func main() {
|
||||
model.NewModel(db, bc, config)
|
||||
auth.NewAuthService(db, bc)
|
||||
|
||||
app, err := api.Init()
|
||||
app, err := api.Init(config.ApiPrefix)
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user