Skip to content
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 ada swap functionality #93

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions frontend/.env.example
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please us the left version

Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
NEXT_PUBLIC_PAYMENT_API_BASE_URL=/api/v1
NEXT_PUBLIC_TRANSAK_API_KEY=1234567890
NEXT_PUBLIC_ENVIRONMENT=staging
PUBLIC_PAYMENT_API_BASE_URL=/..
2 changes: 0 additions & 2 deletions frontend/.gitignore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add the gitignore

Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

.env
9 changes: 5 additions & 4 deletions frontend/next.config.ts
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change the path name back to the previous one

Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
output: 'export',
distDir: 'dist',
basePath: '/admin',
env: {
NEXT_PUBLIC_PAYMENT_API_BASE_URL: process.env.NEXT_PUBLIC_PAYMENT_API_BASE_URL || '/api/v1'
NEXT_PUBLIC_PAYMENT_API_BASE_URL:
process.env.NEXT_PUBLIC_PAYMENT_API_BASE_URL || 'http://localhost:3001',
},
images: {
unoptimized: true
}
unoptimized: true,
},
};

export default nextConfig;
384 changes: 55 additions & 329 deletions frontend/openapi-docs.json

Large diffs are not rendered by default.

Loading
Loading