mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Opening files in api-s doamin name
This commit is contained in:
@@ -338,7 +338,7 @@ export default function UserFiles({ router, globalData }) {
|
|||||||
key={name}
|
key={name}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (path) {
|
if (path) {
|
||||||
window.open(`${constants.siteUrl}${path}`, '_blank')
|
window.open(`${constants.apiUrl}${path}`, '_blank')
|
||||||
} else {
|
} else {
|
||||||
setDirs(undefined)
|
setDirs(undefined)
|
||||||
router.push(
|
router.push(
|
||||||
|
Reference in New Issue
Block a user