Skip to content

Commit

Permalink
prefix all api routes with /webservice to make sure endpoints defined…
Browse files Browse the repository at this point in the history
… at EPOS will match after update
  • Loading branch information
lsamshuijzen committed Jan 17, 2025
1 parent fba4aad commit 8d0c5d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function boot()
$this->configureRateLimiting();

$this->routes(function () {
Route::prefix('api')
Route::prefix('webservice/api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
Expand Down
4 changes: 2 additions & 2 deletions resources/views/frontend/data-publication-detail.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class="wordCard"
}
$.ajax({
url: '/api/vocabularies' + "/term?uri=" + instance.reference.dataset.uri,
url: '/webservice/api/vocabularies' + "/term?uri=" + instance.reference.dataset.uri,
type: 'GET',
dataType: 'json',
dataset: instance.reference.dataset,
Expand Down Expand Up @@ -241,7 +241,7 @@ class="wordCard"
}
$.ajax({
url: '/api/vocabularies' + "/term?uri=" + instance.reference.dataset.uri,
url: '/webservice/api/vocabularies' + "/term?uri=" + instance.reference.dataset.uri,
type: 'GET',
dataType: 'json',
dataset: instance.reference.dataset,
Expand Down

0 comments on commit 8d0c5d9

Please sign in to comment.