This commit is contained in:
Pierre-Olivier Latour
2014-04-06 10:10:25 -07:00
parent 1315c0e965
commit 7506f9c9a2
2 changed files with 2 additions and 10 deletions
+1 -5
View File
@@ -88,11 +88,7 @@
return nil;
}
_uploadDirectory = [[path stringByStandardizingPath] copy];
#if __has_feature(objc_arc)
__unsafe_unretained GCDWebUploader* uploader = self;
#else
__block GCDWebUploader* uploader = self;
#endif
GCDWebUploader* __unsafe_unretained uploader = self;
// Resource files
[self addGETHandlerForBasePath:@"/" directoryPath:[siteBundle resourcePath] indexFilename:nil cacheAge:3600 allowRangeRequests:NO];