-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tx history endpoints #67
Conversation
src/constant/index.ts
Outdated
|
||
// export const ONFINALITY_API_KEY = '28209e0e-fc76-481e-a80f-745ffdf477d7' // test api key for localhost | ||
export const ONFINALITY_API_KEY = '28209e0e-fc76-481e-a80f-745ffdf477d7' // test api key for localhost |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this back, or if you got time, maybe put this in env instead?
src/server.ts
Outdated
// app.use( | ||
// cors((req, callback) => { | ||
// const origin = req.method === 'GET' ? '*' : '*' | ||
// callback(null, { origin }) | ||
// const corsOptions = { origin: true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this back too, or use
NODE_ENV to change which to use depending on if it is prod or dev
No description provided.