Skip to content

Commit

Permalink
add test endpoint to debug why api routes not working in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jun 11, 2024
1 parent ca4f30e commit 57debdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pages/api/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function handler(req, res) {
res.status(200).json({ hello: 'world' });
}
2 changes: 1 addition & 1 deletion src/components.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// This file is auto-generated. Do not modify this file directly.
// This file is auto-generated. Do not modify this file directly.

Check warning on line 3 in src/components.js

View workflow job for this annotation

GitHub Actions / Lint (18, ubuntu-20.04)

Expected indentation of 0 spaces but found 2
exports['add-role-fact'] = require('./add-role-fact/add-role-fact.js');
exports['app-component'] = require('./app-component/app-component.js');
exports['async-button'] = require('./async-button/async-button.js');
Expand Down

0 comments on commit 57debdb

Please sign in to comment.