Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
Alteração domínio
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardopilati committed Dec 7, 2023
1 parent 92a0b1b commit fe2690b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/Http/Middleware/AddSecurityHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function handle(Request $request, Closure $next): Response
// Content Security Policy
$response->header(
'Content-Security-Policy',
"default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.googletagmanager.com https://*.newrelic.com; connect-src 'self' https://*.googleapis.com https://www.google-analytics.com wss://agroarca.com.br:* blob: https://agroarca.com.br:* https://bam.nr-data.net; img-src 'self' https://imagens.agroarca.com.br data: w3.org/svg/2000 blob:"
"default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.googletagmanager.com https://*.newrelic.com; connect-src 'self' https://*.googleapis.com https://www.google-analytics.com wss://equipamentos.pilati.dev:* blob: https://equipamentos.pilati.dev:* https://bam.nr-data.net; img-src 'self' https://imagens.equipamentos.pilati.dev data: w3.org/svg/2000 blob:"
);
}
return $response;
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Layouts/SiteLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const URLAtual = computed(() => window.location.href)
<meta name="og:description" head-key="meta-og-description" :content="metaDescription" />
<meta name="og:url" head-key="meta-og-url" :content="URLAtual" />
<meta name="og:type" head-key="meta-og-type" content="website" />
<meta name="og:image" head-key="meta-og-image" content="https://agroarca.com.br/img/logo-vertical.png" />
<meta name="og:image" head-key="meta-og-image" content="https://equipamentos.pilati.dev/img/logo-vertical.png" />
<meta name="og:image:type" head-key="meta-og-image-type" content="image/png" />
<meta name="og:image:width" head-key="meta-og-image-width" content="512" />
<meta name="og:image:height" head-key="meta-og-image-height" content="512" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ async function salvarModelo() {
<button type="submit" class="btn btn-primary">
<i class="fa-solid fa-floppy-disk me-1" />Salvar
</button>
<Link :href="`/admin/equipamentos/${equipamento.id}/excluir`" class="btn btn-danger">
<i class="fa-solid fa-eraser me-1" />Excluir
</Link>
</div>
</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const props = defineProps({
<i class="fas fa-pen-to-square pe-1" />
Editar
</Link>
<Link class="btn btn-danger" :href="`/admin/equipamentos/${equipamento.id}/excluir`">
<i class="fas fa-eraser pe-1" />
Excluir
</Link>
</div>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Site/PaginaInicial/Inicio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ let dadosEstruturados = {
'@type': 'SearchAction',
target: {
'@type': 'EntryPoint',
urlTemplate: 'https://agroarca.com.br/pesquisa/{search_term}',
urlTemplate: 'https://equipamentos.pilati.dev/pesquisa/{search_term}',
},
'query-input': 'required name=search_term',
}],
url: 'https://agroarca.com.br',
url: 'https://equipamentos.pilati.dev',
}
const versao = new Versao(
Expand Down

0 comments on commit fe2690b

Please sign in to comment.