mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-03-01 00:35:19 +08:00
fix: spm
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// String+Encode.swift
|
||||
// ClashX
|
||||
//
|
||||
// Created by yicheng on 2019/12/11.
|
||||
// Copyright © 2019 west2online. All rights reserved.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
extension String {
|
||||
var encoded: String {
|
||||
return addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) ?? ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user