Skip to content

Commit

Permalink
Merge pull request #8 from firtoz/use-original
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed May 11, 2023
2 parents 3a8f1b3 + d6fa6ef commit e59a998
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/anime-adventure/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const router = OpenAPIRouter({
router.get('/start', routes.StartGame)
router.get('/continue', routes.ContinueGame)

router.get('/.well-known/ai-plugin.json', (request: Request) => {
router.original.get('/.well-known/ai-plugin.json', (request: Request) => {
const host = request.headers.get('host')
const pluginManifest = defineAIPluginManifest(
{
Expand Down
2 changes: 1 addition & 1 deletion examples/ascii-art/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const router = OpenAPIRouter({

router.get('/render', routes.ASCIIArtRender)

router.get('/.well-known/ai-plugin.json', (request: Request) => {
router.original.get('/.well-known/ai-plugin.json', (request: Request) => {
const host = request.headers.get('host')
const pluginManifest = defineAIPluginManifest({
schema_version: 'v1',
Expand Down
2 changes: 1 addition & 1 deletion examples/dexa-lex-fridman/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const router = OpenAPIRouter({

router.get('/search', routes.DexaSearch)

router.get('/.well-known/ai-plugin.json', (request: Request) => {
router.original.get('/.well-known/ai-plugin.json', (request: Request) => {
const host = request.headers.get('host')
const pluginManifest = defineAIPluginManifest(
{
Expand Down
2 changes: 1 addition & 1 deletion examples/dexa-mfm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const router = OpenAPIRouter({

router.get('/search', routes.DexaSearch)

router.get('/.well-known/ai-plugin.json', (request: Request) => {
router.original.get('/.well-known/ai-plugin.json', (request: Request) => {
const host = request.headers.get('host')
const pluginManifest = defineAIPluginManifest(
{
Expand Down
2 changes: 1 addition & 1 deletion examples/talk-to-books/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const router = OpenAPIRouter({

router.get('/search', routes.BookSearch)

router.get('/.well-known/ai-plugin.json', (request: Request) => {
router.original.get('/.well-known/ai-plugin.json', (request: Request) => {
const host = request.headers.get('host')
const pluginManifest = defineAIPluginManifest(
{
Expand Down

0 comments on commit e59a998

Please sign in to comment.