From 77ae39d330a6889cc1a1ca3a887dcbfbf1b13f67 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 5 Oct 2017 07:22:14 +0200 Subject: [PATCH] New API --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index 4ca3ed9f..32b2c2ca 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,6 @@ package main import ( "github.com/aerogo/aero" - "github.com/aerogo/api" "github.com/aerogo/session-store-aerospike" "github.com/animenotifier/arn" "github.com/animenotifier/notify.moe/auth" @@ -175,8 +174,7 @@ func configure(app *aero.Application) *aero.Application { app.Use(middleware.UserInfo()) // API - api := api.New("/api/", arn.DB) - api.Install(app) + arn.API.Install(app) // Domain if arn.IsDevelopment() {