Skip to content

Commit fded512

Browse files
committed
Remove slash on ios url
1 parent 125bf50 commit fded512

File tree

3 files changed

+2
-192
lines changed

3 files changed

+2
-192
lines changed

android/src/main/java/com/futurepress/staticserver/AndroidFile.java

Lines changed: 0 additions & 190 deletions
This file was deleted.

ios/FPStaticServer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ - (NSDictionary *)getIPAddresses
153153
NSString* ip = self.localhost_only ? IP_LOCALHOST : [self getIPAddress:YES];
154154
NSLog(@"Started httpd on port %d", listenPort);
155155

156-
self.url = [NSString stringWithFormat:@"http://%@:%d/", ip, listenPort];
156+
self.url = [NSString stringWithFormat:@"http://%@:%d", ip, listenPort];
157157
resolve(self.url);
158158

159159
} else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{
33
"name": "react-native-static-server",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"repository": "https://github.com/futurepress/react-native-static-server",
66
"description": "HTTP static file server for React Native",
77
"main": "index.js",

0 commit comments

Comments
 (0)