diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index f18fa067a..992b6bd82 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -1,19 +1,17 @@ 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() @@ -21,18 +19,18 @@ 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 diff --git a/packages/constants/general.ts b/packages/constants/general.ts index 6cfb532ce..0f1bd7ed0 100644 --- a/packages/constants/general.ts +++ b/packages/constants/general.ts @@ -38,7 +38,7 @@ export const TAPE_EMBED_URL = IS_MAINNET ? 'https://embed.dragverse.app' : 'https://embed-testnet.dragverse.app' export const TAPE_API_URL = IS_PRODUCTION - ? 'https://api.dragverse.app' + ? 'https://api.tape.xyz' : 'http://localhost:4000' // tape addresses