Edit api rewrite

This commit is contained in:
Mentor Palokaj 2021-11-05 12:35:07 +01:00
parent c3edb22229
commit 3f7cc34585
2 changed files with 6 additions and 6 deletions

View File

@ -13,6 +13,10 @@
"target": "website", "target": "website",
"public": "website/docs", "public": "website/docs",
"rewrites": [ "rewrites": [
{
"source": "/api/integrations/avatar",
"function": "setAvatarOfValidtor"
},
{ {
"source": "/api/**", "source": "/api/**",
"function": "mainnetMetadata" "function": "mainnetMetadata"
@ -20,10 +24,6 @@
{ {
"source": "/testnetapi/**", "source": "/testnetapi/**",
"function": "testnetMetadata" "function": "testnetMetadata"
},
{
"source": "/integrations/avatar",
"function": "setAvatarOfValidtor"
} }
] ]
}, },

View File

@ -9,11 +9,11 @@ main {
justify-content: center; justify-content: center;
} }
body, body * {
body * {
box-sizing: border-box; box-sizing: border-box;
max-width: 100%; max-width: 100%;
overflow-wrap: break-word; overflow-wrap: break-word;
overflow-x: hidden;
} }
code { code {