Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jj_video_practice
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
jj_video_practice
Commits
b244fa55
Commit
b244fa55
authored
Dec 24, 2025
by
JinWei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-jj_vedio_practice' into 'master'
更新测试环境cdn See merge request
!7
parents
373fac86
e153ebda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
upload-video.component.ts
src/app/common/upload-video/upload-video.component.ts
+3
-1
No files found.
src/app/common/upload-video/upload-video.component.ts
View file @
b244fa55
...
...
@@ -174,7 +174,9 @@ export class UploadVideoComponent implements OnChanges, OnDestroy, OnInit {
customReq
(
item
:
UploadXHRArgs
)
{
// md5值计算
const
protocolStr
=
document
.
location
.
protocol
;
const
baseCDN
=
`
${
protocolStr
}
//teach.cdn.ireadabc.com`
;
const
CDN_HOST
=
(
window
.
location
.
host
.
includes
(
'
staging
'
)
||
window
.
location
.
host
.
includes
(
'
localhost
'
))
?
'
staging-teach.cdn.ireadabc.com
'
:
'
teach.cdn.ireadabc.com
'
;
const
baseCDN
=
`
${
protocolStr
}
//
${
CDN_HOST
}
`
;
console
.
log
(
`=============baseCDN==============`
,
baseCDN
);
const
baseAPI
=
`
${
protocolStr
}
//openapi.iteachabc.com`
;
const
fileName
=
v4
().
replace
(
/-/g
,
""
);
...
...
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