Skip to content

Commit

Permalink
refactor(index.ts): remove deprecated typeUrlRoute
Browse files Browse the repository at this point in the history
feat(type-url.ts): delete type-url.ts file
  • Loading branch information
preschian committed Mar 22, 2024
1 parent c424777 commit 91bfe5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 92 deletions.
2 changes: 0 additions & 2 deletions image/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Hono } from 'hono'

import { Env } from './utils/constants'
import typeUrlRoute from './routes/type-url'
import typeEndpointRoute from './routes/type-endpoint'
import ipfsRoute from './routes/ipfs'
import metadataRoute from './routes/metadata'
Expand All @@ -12,7 +11,6 @@ const app = new Hono<{ Bindings: Env }>()
app.get('/', (c) => c.text('Hello! cf-workers!'))

app.route('/ipfs', ipfsRoute)
app.route('/type/url', typeUrlRoute) // will be deprecated by /type/endpoint
app.route('/type/endpoint', typeEndpointRoute)
app.route('/metadata', metadataRoute)
app.route('/video', videoRoute)
Expand Down
90 changes: 0 additions & 90 deletions image/src/routes/type-url.ts

This file was deleted.

0 comments on commit 91bfe5a

Please sign in to comment.