Switch to prefixed IDs and tell agents which Mac a message came from
This commit is contained in:
@@ -28,7 +28,7 @@ final class Forwards {
|
||||
}
|
||||
var c = URLComponents()
|
||||
c.scheme = "http"
|
||||
c.host = "\(slug(key.name).isEmpty ? "preview" : slug(key.name))-\(taskId.prefix(6)).localhost"
|
||||
c.host = "\(slug(key.name).isEmpty ? "preview" : slug(key.name))-\(taskId.lowercased()).localhost"
|
||||
c.port = local
|
||||
c.path = "/"
|
||||
return c.url
|
||||
|
||||
Reference in New Issue
Block a user