Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeongmin Seo
/
favorite_restaurant
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Jeongmin Seo
2022-06-09 16:09:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c2af6b4aa309575925d75c44e09c6ee2d9263c2b
c2af6b4a
1 parent
c013bd4f
Last update localhost->ip
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/src/public/js/home/axios-index.js
app/src/public/js/home/chat.js
app/src/public/js/home/axios-index.js
View file @
c2af6b4
...
...
@@ -44,7 +44,7 @@
const
dataSet
=
await
axios
({
method
:
"get"
,
// http method
url
:
`http://
localhost
:3000/restaurants?category=
${
qs
}
`
,
url
:
`http://
52.54.201.217
:3000/restaurants?category=
${
qs
}
`
,
headers
:
{},
data
:
{},
});
...
...
app/src/public/js/home/chat.js
View file @
c2af6b4
"use strict"
;
const
socket
=
io
.
connect
(
"http://
localhost
:3000/"
,
{
const
socket
=
io
.
connect
(
"http://
52.54.201.217
:3000/"
,
{
transports
:
[
"websocket"
],
});
const
nickname
=
document
.
querySelector
(
"#nickname"
)
...
...
Please
register
or
login
to post a comment