File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2233,8 +2233,8 @@ int handleHTTPRequest(struct client *c) {
2233
2233
struct stat sbuf ;
2234
2234
int fd = -1 ;
2235
2235
2236
- if (stat ("gmap.html" ,& sbuf ) != -1 &&
2237
- (fd = open ("gmap.html" ,O_RDONLY )) != -1 )
2236
+ if (stat ("/usr/bin/ gmap.html" ,& sbuf ) != -1 &&
2237
+ (fd = open ("/usr/bin/ gmap.html" ,O_RDONLY )) != -1 )
2238
2238
{
2239
2239
content = malloc (sbuf .st_size );
2240
2240
if (read (fd ,content ,sbuf .st_size ) == -1 ) {
Original file line number Diff line number Diff line change 32
32
color : # 333 ;
33
33
}
34
34
</ style >
35
- < script src ="//ajax.googleapis .com/ajax/libs/jquery/1.8.3/jquery.min.js ">
35
+ < script src ="https://cdnjs.cloudflare .com/ajax/libs/jquery/1.8.3/jquery.min.js ">
36
36
</ script >
37
37
< script type ="text/javascript "
38
- src ="https://maps.googleapis.com /maps/api/js?sensor=true ">
38
+ src ="https://maps.google.cn /maps/api/js?sensor=true ">
39
39
</ script >
40
40
< script type ="text/javascript ">
41
41
Map = null ;
You can’t perform that action at this time.
0 commit comments