Compare commits
2
Commits
7a910b3d8f
..
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36745cc9c4 | ||
|
|
ca3abb19e1 |
@@ -14,7 +14,7 @@ export default function GenerateKeyButton() {
|
|||||||
setResult(null);
|
setResult(null);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch("http://localhost:3001/v1/keys/generate", {
|
const res = await fetch(process.env.NEXT_PUBLIC_API_URL! + '/keys/generate', {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user