mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-21 23:40:40 +01:00
Change api url
This commit is contained in:
@@ -275,7 +275,7 @@ const translations = {
|
||||
|
||||
export default async function () {
|
||||
let informations = {}
|
||||
const response = await axios.get<{ translations: Translation[] }>('https://athena.arthurdanjou.fr/translations', {
|
||||
const response = await axios.get<{ translations: Translation[] }>('https://api.arthurdanjou.fr/translations', {
|
||||
headers: {
|
||||
authorization: `Bearer ${process.env.API_TOKEN}`
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ const translations = {
|
||||
|
||||
export default async function () {
|
||||
let informations = {}
|
||||
const response = await axios.get<{ translations: Translation[] }>('https://athena.arthurdanjou.fr/translations', {
|
||||
const response = await axios.get<{ translations: Translation[] }>('https://api.arthurdanjou.fr/translations', {
|
||||
headers: {
|
||||
authorization: `Bearer ${process.env.API_TOKEN}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user