File tree 2 files changed +5
-3
lines changed
Resources/HttpServerDebug.bundle/web/pages/view_debug
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,9 @@ + (HSDGWebServerResponse *)handleRequest:(HSDGWebServerRequest *)request {
211
211
response = [[HSDGWebServerDataResponse alloc ] initWithHTML: htmlStr];
212
212
} else {
213
213
NSString *documentPath = [documentRoot stringByAppendingPathComponent: path];
214
- response = [[HSDGWebServerFileResponse alloc ] initWithFile: documentPath];
214
+ if ([[NSFileManager defaultManager ] fileExistsAtPath: documentPath]) {
215
+ response = [[HSDGWebServerFileResponse alloc ] initWithFile: documentPath];
216
+ }
215
217
}
216
218
217
219
if (!response) {
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ div.view-hierarchy-area {
94
94
padding-left : 4px ;
95
95
display : inline-block;
96
96
}
97
- # view-property-list ul {
97
+ . view-property-list ul {
98
98
padding : 0 ;
99
99
}
100
- # view-property-list img {
100
+ . view-property-list img {
101
101
width : 75% ;
102
102
margin-left : auto;
103
103
margin-right : auto;
You can’t perform that action at this time.
0 commit comments