change baseUrl variable
This commit is contained in:
@@ -8,7 +8,8 @@ import { getRouteLang } from './getLanguage';
|
||||
|
||||
// ─── Constants ─────────────────────────────────────────────────────────────────
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
// const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
const baseUrl = 'https://api.anti-plagiat.uz/api/v1';
|
||||
const DEFAULT_LOCALE = 'uz'; // fallback locale for redirect
|
||||
|
||||
// ─── Token helpers ─────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -3,7 +3,8 @@ import { useTranslations } from 'next-intl';
|
||||
import { FileDown, Loader2 } from 'lucide-react';
|
||||
import React, { useState } from 'react';
|
||||
|
||||
const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
// const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
|
||||
const baseUrl = 'https://api.anti-plagiat.uz/api/v1';
|
||||
|
||||
export default function Sertifikat({ document_id }: { document_id: number }) {
|
||||
const t = useTranslations();
|
||||
|
||||
Reference in New Issue
Block a user