forked from tapexyz/tape
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
import { Hono } from 'hono' | ||
import { cors } from 'hono/cors' | ||
|
||
import allowedTokens from './routes/allowed-tokens' | ||
import did from './routes/did' | ||
import gateway from './routes/gateway' | ||
import metadata from './routes/metadata' | ||
import oembed from './routes/oembed' | ||
import recommendations from './routes/recommendations' | ||
import signup from './routes/signup' | ||
import sts from './routes/sts' | ||
import tail from './routes/tail' | ||
import toggles from './routes/toggles' | ||
import tower from './routes/tower' | ||
import verified from './routes/verified' | ||
import views from './routes/views' | ||
// import allowedTokens from './routes/allowed-tokens'; | ||
// import did from './routes/did'; | ||
// import gateway from './routes/gateway'; | ||
// import metadata from './routes/metadata'; | ||
// import oembed from './routes/oembed'; | ||
// import recommendations from './routes/recommendations'; | ||
// import signup from './routes/signup'; | ||
// import sts from './routes/sts'; | ||
// import toggles from './routes/toggles'; | ||
// import verified from './routes/verified'; | ||
// import views from './routes/views'; | ||
|
||
const app = new Hono() | ||
|
||
app.use('*', cors()) | ||
|
||
app.get('/', (c) => c.text('dragverse.app')) | ||
|
||
app.route('/did', did) | ||
app.route('/sts', sts) | ||
app.route('/tail', tail) | ||
app.route('/tower', tower) | ||
app.route('/views', views) | ||
app.route('/oembed', oembed) | ||
app.route('/signup', signup) | ||
app.route('/gateway', gateway) | ||
app.route('/toggles', toggles) | ||
app.route('/metadata', metadata) | ||
app.route('/verified', verified) | ||
app.route('/allowed-tokens', allowedTokens) | ||
app.route('/recommendations', recommendations) | ||
// app.route('/did', did) | ||
// app.route('/sts', sts) | ||
// app.route('/tail', tail) | ||
// app.route('/tower', tower) | ||
// app.route('/views', views) | ||
// app.route('/oembed', oembed) | ||
// app.route('/signup', signup) | ||
// app.route('/gateway', gateway) | ||
// app.route('/toggles', toggles) | ||
// app.route('/metadata', metadata) | ||
// app.route('/verified', verified) | ||
// app.route('/allowed-tokens', allowedTokens) | ||
// app.route('/recommendations', recommendations) | ||
|
||
export default app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters