diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 5eab1ffb..a83c403d 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -26,8 +26,8 @@ public function register()
*/
public function boot()
{
- // if ($this->app->environment('production')) {
- // \URL::forceScheme('https');
- // }
+ if ($this->app->environment('production')) {
+ \URL::forceScheme('https');
+ }
}
}
diff --git a/resources/js/Mixins/Global.js b/resources/js/Mixins/Global.js
index bcf2084f..09a896dc 100644
--- a/resources/js/Mixins/Global.js
+++ b/resources/js/Mixins/Global.js
@@ -74,13 +74,15 @@ export default {
return str;
},
- copyToClipboard(text, id) {
- document.getElementById(id).select();
- copyText(text, undefined, (error, event) => {
+ copyToClipboard(text, element) {
+ if (typeof element == "string") {
+ document.getElementById(id).select();
+ } else {
+ element.select();
+ }
+ copyText(text, undefined, (error) => {
if (error) {
console.log(error);
- } else {
- // console.log(event)
}
});
},
diff --git a/resources/js/Pages/Project/Show.vue b/resources/js/Pages/Project/Show.vue
index 3a90d71c..4f0426ac 100644
--- a/resources/js/Pages/Project/Show.vue
+++ b/resources/js/Pages/Project/Show.vue
@@ -306,7 +306,7 @@
v-if="project.identifier"
class="text-gray-400 mt-2"
>
-
+