Skip to content

Commit

Permalink
correção consumir master
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelNsouza authored Jun 3, 2024
1 parent 1f72321 commit a8c579b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/CardComponente.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="col-12">
<div class="img-container">
<img
:src="'http://ec2-54-207-67-252.sa-east-1.compute.amazonaws.com/api/walldreams/wallpaper/v2/download_wallpaper/' + card.wallpaper_id + '/?resolution=HD'"
:src="'http://ec2-54-94-18-161.sa-east-1.compute.amazonaws.com/api/walldreams/wallpaper/v2/download_wallpaper/' + card.wallpaper_id + '/?resolution=HD'"
class="card-img-top rounded img-fluid tamanho" alt="...">
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ModalComponente.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="card col12 col-md-10 col-lg-8 mb-3">
<div class="row no-gutters d-flex align-items-stretch">
<div class="col-md-8">
<img :src="'http://ec2-54-207-67-252.sa-east-1.compute.amazonaws.com/api/walldreams/wallpaper/v2/download_wallpaper/'+card.wallpaper_id+'/?resolution=HD'" class="card-img mt-3 p-3 h-auto w-100" alt="...">
<img :src="'http://ec2-54-94-18-161.sa-east-1.compute.amazonaws.com/api/walldreams/wallpaper/v2/download_wallpaper/'+card.wallpaper_id+'/?resolution=HD'" class="card-img mt-3 p-3 h-auto w-100" alt="...">
<div class="div d-flex justify-content-beetween">
<p class="h5 p-3 text-lg flex-grow-1">{{card.description}}</p>

Expand Down Expand Up @@ -114,7 +114,7 @@ export default {
} else {
console.warn('API de Web Share não suportada neste navegador.');
alert('API de Web Share não suportada neste navegador.');
alert(`copie o link: http://ec2-54-207-67-252.sa-east-1.compute.amazonaws.com/buscar/${encodeURIComponent(this.card.description)}`);
alert(`copie o link: http://ec2-54-94-18-161.sa-east-1.compute.amazonaws.com/buscar/${encodeURIComponent(this.card.description)}`);
}
},
Expand Down
6 changes: 3 additions & 3 deletions src/services/api.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import axios from 'axios';

/*const api = axios.create({
baseURL: 'http://ec2-54-207-67-252.sa-east-1.compute.amazonaws.com/api/walldreams'
});*/
const api = axios.create({
baseURL: 'http://ec2-54-94-18-161.sa-east-1.compute.amazonaws.com/api/walldreams'
});

//reserva P - http://ec2-54-94-18-161.sa-east-1.compute.amazonaws.com/
// http://ec2-54-207-67-252.sa-east-1.compute.amazonaws.com/

// Categorias
export const getTodasCategorias = () => api.get('/category/');
export const getCategoria = (id) => api.get(`/category/${id}`);
Expand Down

0 comments on commit a8c579b

Please sign in to comment.