FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
documentcloud/lib/dc.rb at diffdocs · documentcloud/documentcloud · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Mar 11, 2021. It is now read-only.
documentcloud
/
documentcloud
Public archive
Notifications
You must be signed in to change notification settings
Fork
157
Star
425
Code
Issues
194
Pull requests
16
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
documentcloud
/
lib
/
dc.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (8 loc) · 273 Bytes
Breadcrumbs
documentcloud
/
lib
/
dc.rb
Copy path
File metadata and controls
10 lines (8 loc) · 273 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
module
DC
# The canonical server root, including SSL, if requested.
def
self
.
server_root
(
options
=
{
:ssl
=>
true
}
)
root
=
'http://'
root
=
'https://'
if
options
[
:force_ssl
]
||
(
options
[
:ssl
]
&&
Thread
.
current
[
:ssl
]
)
root
+
DC_CONFIG
[
'server_root'
]
end
end
Back
|
FazBrowse Home
|
New Git URL