diff options
Diffstat (limited to 'core/src/OC/host.js')
-rw-r--r-- | core/src/OC/host.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/src/OC/host.js b/core/src/OC/host.js index f90ca65b4da..44623b27399 100644 --- a/core/src/OC/host.js +++ b/core/src/OC/host.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,10 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ -/** - * Protocol that is used to access this Nextcloud instance - * @returns {string} Used protocol - * @deprecated 17.0.0 use window.location.protocol directly - */ export const getProtocol = () => window.location.protocol.split(':')[0] /** |