mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-11-07 21:20:07 +01:00
🐛 Handle trailing semicolon (#170)
This commit is contained in:
@@ -40,7 +40,7 @@ class NginxConfiguration {
|
||||
*/
|
||||
lazy var proxy: String? = {
|
||||
let regex = try! NSRegularExpression(
|
||||
pattern: #"proxy_pass (?<proxy>.*:\d*);"#,
|
||||
pattern: #"proxy_pass (?<proxy>.*:\d*)(\/*);"#,
|
||||
options: []
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user