mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Desktop, Cli, Mobile, Server: Add Joplin Server SAML support (#11865)
This commit is contained in:
1 parent
4f826c045a
commit
bdbd16240b
46 files changed
+1039
-36
No files matched your search
@@ -0,0 +1,9 @@
|
||||
const prefixWithHttps = (url: string) => {
|
||||
if (!url.startsWith('http://') && !url.startsWith('https://')) {
|
||||
return `https://${url}`;
|
||||
} else {
|
||||
return url;
|
||||
}
|
||||
};
|
||||
|
||||
export default prefixWithHttps;
|
||||
Reference in new issue
Block a user