Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
TNGD_CaveCruiser
Commits
f00fbfb6
Commit
f00fbfb6
authored
Sep 23, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
4ba70c2e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
index.ejs
build-templates/web-mobile/index.ejs
+1
-1
hooks.js
extensions/duiba-publish/dist/hooks.js
+2
-1
hooks.ts
extensions/duiba-publish/source/hooks.ts
+2
-1
index.ejs
preview-template/index.ejs
+0
-1
No files found.
build-templates/web-mobile/index.ejs
View file @
f00fbfb6
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
src=
"//
duiba-credits-test.oss-cn-hangzhou.aliyuncs.com
/TNGD_GAMES/libs/eruda.min.js"
></script>
<script
src=
"//
yun-duiba-credits-test.duibatest.com.cn
/TNGD_GAMES/libs/eruda.min.js"
></script>
<script>
eruda
.
init
()
</script>
<script>
eruda
.
init
()
</script>
</head>
</head>
<body
style=
"overflow: hidden; visibility: hidden"
>
<body
style=
"overflow: hidden; visibility: hidden"
>
...
...
extensions/duiba-publish/dist/hooks.js
View file @
f00fbfb6
...
@@ -46,7 +46,8 @@ function getRemotePath(uploadDir = 'template3d') {
...
@@ -46,7 +46,8 @@ function getRemotePath(uploadDir = 'template3d') {
function
getRemoteUrl
(
uploadDir
=
'template3d'
)
{
function
getRemoteUrl
(
uploadDir
=
'template3d'
)
{
// return `https://yun.duiba.com.cn${getRemotePath(uploadDir)}`;
// return `https://yun.duiba.com.cn${getRemotePath(uploadDir)}`;
// https://duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/dc.png
// https://duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/dc.png
return
`//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com
${
getRemotePath
(
uploadDir
)}
`
;
// https://yun-duiba-credits-test.duibatest.com.cn/
return
`//yun-duiba-credits-test.duibatest.com.cn
${
getRemotePath
(
uploadDir
)}
`
;
}
}
function
getGitInfo
(
path
)
{
function
getGitInfo
(
path
)
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
...
...
extensions/duiba-publish/source/hooks.ts
View file @
f00fbfb6
...
@@ -41,7 +41,8 @@ function getRemotePath(uploadDir = 'template3d') {
...
@@ -41,7 +41,8 @@ function getRemotePath(uploadDir = 'template3d') {
function
getRemoteUrl
(
uploadDir
=
'template3d'
)
{
function
getRemoteUrl
(
uploadDir
=
'template3d'
)
{
// return `https://yun.duiba.com.cn${getRemotePath(uploadDir)}`;
// return `https://yun.duiba.com.cn${getRemotePath(uploadDir)}`;
// https://duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/dc.png
// https://duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/dc.png
return
`//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com
${
getRemotePath
(
uploadDir
)}
`
;
// https://yun-duiba-credits-test.duibatest.com.cn/
return
`//yun-duiba-credits-test.duibatest.com.cn
${
getRemotePath
(
uploadDir
)}
`
;
}
}
...
...
preview-template/index.ejs
View file @
f00fbfb6
<html>
<html>
<head>
<head>
<link
rel=
"icon"
href=
"./favicon.ico"
/>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<title>
Cave Cruiser
</title>
<title>
Cave Cruiser
</title>
<meta
<meta
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment