Toggle navigation
Toggle navigation
This project
Loading...
Sign in
임태민
/
Mapmory
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
홍지윤
2021-06-04 21:19:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
93ef0e4e1b3d53ec581aa3eb65ce525c568aa42d
93ef0e4e
1 parent
3e0db2a5
api key conceal 3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
index.js
views/partials/gmap.ejs
views/partials/showgmap.ejs
index.js
View file @
93ef0e4
...
...
@@ -16,7 +16,7 @@ mongoose.set('useCreateIndex', true);
mongoose
.
set
(
'useUnifiedTopology'
,
true
);
// Connect DB environment variable
mongoose
.
connect
(
'mongodb
+srv://Mapmory_admin:admin@cluster0.ncnjj.mongodb.net/Project-Mapmory?retryWrites=true&w=majority
'
);
mongoose
.
connect
(
'mongodb
key입력하는곳
'
);
// Store DB in the variable 'db'
var
db
=
mongoose
.
connection
;
...
...
views/partials/gmap.ejs
View file @
93ef0e4
...
...
@@ -135,7 +135,7 @@
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script
src=
"https://maps.googleapis.com/maps/api/js?key=
AIzaSyDK6K4iDdo9cKQdrNoOJaaYg29nEG0BIjw
&callback=initMap&libraries=&v=weekly"
src=
"https://maps.googleapis.com/maps/api/js?key=
googlekey값을 입력하세요
&callback=initMap&libraries=&v=weekly"
async
></script>
</body>
...
...
views/partials/showgmap.ejs
View file @
93ef0e4
...
...
@@ -142,7 +142,7 @@
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script
src=
"https://maps.googleapis.com/maps/api/js?key=
AIzaSyDK6K4iDdo9cKQdrNoOJaaYg29nEG0BIjw
&callback=initMap&libraries=&v=weekly"
src=
"https://maps.googleapis.com/maps/api/js?key=
googlekey값을 입력하세요
&callback=initMap&libraries=&v=weekly"
async
></script>
...
...
Please
register
or
login
to post a comment