Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into fixes/navigator-api
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu-mantano committed May 14, 2019
2 parents 5079cac + 0bf029e commit 7e6740c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github "cezheng/Fuzi" "2.2.1"
github "dexman/Minizip" "1.4.0"
github "krzyzanowskim/CryptoSwift" "0.14.0"
github "readium/r2-shared-swift" "678dbfede1e24ea5b924955176a331206b1a4450"
github "krzyzanowskim/CryptoSwift" "0.15.0"
github "readium/r2-shared-swift" "c01177ff01bf52b6722b2842a53485b4a9781790"
github "swisspol/GCDWebServer" "3.5.2"
github "tadija/AEXML" "4.3.3"
7 changes: 2 additions & 5 deletions Sources/server/PublicationServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,8 @@ public class PublicationServer {
}

internal func startWebServer() -> Bool {
#if DEBUG
let port = 8080
#else
let port = 1337
#endif
// with port 0, a random port is used each time.
let port = 0
do {
// TODO: Check if we can use unix socket instead of tcp.
// Check if it's supported by WKWebView first.
Expand Down

0 comments on commit 7e6740c

Please sign in to comment.