Making user_notifications relative

This commit is contained in:
Allan Viana
2024-09-22 21:18:48 -03:00
committed by GitHub
parent 30750a9449
commit 82ccb0c0b6

View File

@@ -60,7 +60,7 @@ require 'php/templates/header.php';
<script>
function fetchData(callback) {
$.ajax({
url: '/api/user_notifications.json?nocache=' + Date.now(),
url: 'api/user_notifications.json?nocache=' + Date.now(),
method: 'GET',
dataType: 'json',
success: function(response) {