We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab8db7b commit a1bbd39Copy full SHA for a1bbd39
coreui/public/public/test.txt
@@ -0,0 +1 @@
1
+test
coreui/src/views/media/Media.vue
@@ -255,6 +255,7 @@ export default {
255
croppModal: false,
256
cropper: null,
257
croppUrl: '',
258
+ changePort: 'localhost:8080',
259
}
260
},
261
computed: {
@@ -290,7 +291,7 @@ export default {
290
291
.then(function (response) {
292
self.elementId = response.data.id
293
self.croppUrl = response.data.url
- self.croppUrl = self.croppUrl.replace( 'localhost', this.$apiAdress )
294
+ self.croppUrl = self.croppUrl.replace( 'localhost', self.changePort )
295
document.getElementById('cropp-img-img').setAttribute('src', self.croppUrl)
296
self.croppModal = true
297
0 commit comments