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
b7c70c79
authored
2023-12-01 10:14:15 +0800
by
RSA
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
28823_chatbot_vuzo_link
1 parent
ba0e8abc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
client/public/index.html
client/public/index.html
View file @
b7c70c7
...
...
@@ -31,6 +31,10 @@
let
btutilAsset
=
document
.
createElement
(
'script'
);
btutilAsset
.
setAttribute
(
'src'
,
"%REACT_APP_BTUTIL_ASSET_URL%"
+
ver
);
document
.
head
.
appendChild
(
btutilAsset
);
let
vuzoScript
=
document
.
createElement
(
"script"
)
vuzoScript
.
setAttribute
(
"src"
,
"%REACT_APP_START_SERVER_URL%"
+
ver
);
document
.
head
.
appendChild
(
vuzoScript
);
</script>
</head>
<body>
...
...
@@ -47,24 +51,6 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
<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
();
...
...
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