mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-17 10:15:57 +08:00
Merge branch 'standalone_develop' into pre_trustie_server
This commit is contained in:
@@ -21,7 +21,7 @@ class Projects::VerifyAuthTokenService < ApplicationService
|
||||
private
|
||||
def regular_url
|
||||
regx = /\/\/[\s\S]*.git$/ #获取字串
|
||||
data = (regx.match @url).to_s[2..-5].split("/")
|
||||
data = (regx.match @url).to_s[2..-5].to_s.split("/")
|
||||
@website = data[0]
|
||||
@owner = data[1]
|
||||
@repo = data[2]
|
||||
|
||||
Reference in New Issue
Block a user