Skip to content

Commit 60f9ee9

Browse files
committed
Fix
1 parent b3a700d commit 60f9ee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mac/main.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ int main(int argc, const char* argv[]) {
9797
}
9898

9999
case 3: {
100-
webServer = [[GCDWebDAVServer alloc] initWithUploadDirectory:@"/tmp"];
100+
webServer = [[GCDWebDAVServer alloc] initWithUploadDirectory:[[NSFileManager defaultManager] currentDirectoryPath]];
101101
break;
102102
}
103103

104104
case 4: {
105-
webServer = [[GCDWebUploader alloc] initWithUploadDirectory:@"/tmp"];
105+
webServer = [[GCDWebUploader alloc] initWithUploadDirectory:[[NSFileManager defaultManager] currentDirectoryPath]];
106106
break;
107107
}
108108

0 commit comments

Comments
 (0)