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:
parent
5d233f549d
commit
074b56216a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue