|
|
@@ -11,9 +11,8 @@ |
|
|
|
{{template "repo/header" .}} |
|
|
|
<script> |
|
|
|
$(document).ready(function() { |
|
|
|
url = window.location.href |
|
|
|
type = url.split('?type=')[1] |
|
|
|
if (type == 0){ |
|
|
|
const params = new URLSearchParams(window.location.search); |
|
|
|
if (params.get('type') == 0){ |
|
|
|
$('.contorl_component').attr("id", 'minioUploader') |
|
|
|
}else{ |
|
|
|
$('.contorl_component').attr("id", 'obsUploader') |
|
|
|