Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
chatgpt.ai-pro.org
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2704b2d5
authored
2023-11-29 13:12:35 +0800
by
RSA
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
28823_chatbot_vuzo_link
1 parent
804c1fe9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
client/public/index.html
client/public/index.html
View file @
2704b2d
...
...
@@ -49,6 +49,24 @@
</body>
<script
src=
"https://dev.start.ai-pro.org/snippets/com.global.vuzo.js"
></script>
<script>
const
hostname
=
window
.
location
.
hostname
;
const
segments
=
hostname
.
split
(
'.'
);
const
firstSegment
=
segments
[
0
];
let
server
=
''
;
if
(
firstSegment
===
'dev'
){
server
=
'//dev.'
}
else
if
(
firstSegment
===
'staging'
){
server
=
'//staging.'
}
else
{
server
=
'//'
}
var
script
=
document
.
createElement
(
"script"
)
script
.
setAttribute
(
"src"
,
server
+
`start.ai-pro.org/snippets/com.global.vuzo.js`
)
document
.
head
.
appendChild
(
script
)
</script>
<script>
window
.
onload
=
function
()
{
displayVuzo
();
displayGooglePlay
();
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment