mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-05-06 05:38:51 +00:00
fix: correct nzcfg.html URL to /dashboard prefix for proper backend routing
This commit is contained in:
@@ -256,9 +256,9 @@ export const ServerCard: React.FC<ServerCardProps> = ({ data, mutate }) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel className="flex justify-between items-center w-full">
|
<FormLabel className="flex justify-between items-center w-full">
|
||||||
<span>{t("Public") + t("Note")}</span>
|
<span>{t("Public") + t("Note")}</span>
|
||||||
<a href="/nzcfg.html" target="_blank" className="text-blue-500 hover:text-blue-700 text-xs flex items-center gap-1" onClick={(e) => {
|
<a href="/dashboard/nzcfg.html" target="_blank" className="text-blue-500 hover:text-blue-700 text-xs flex items-center gap-1" onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const popup = window.open('/nzcfg.html', 'nzcfg', 'width=1000,height=800');
|
const popup = window.open('/dashboard/nzcfg.html', 'nzcfg', 'width=1000,height=800');
|
||||||
if(popup) {
|
if(popup) {
|
||||||
const timer = setInterval(() => {
|
const timer = setInterval(() => {
|
||||||
if(popup.closed) {
|
if(popup.closed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user