Merge pull request #51 from docmost/private-attachments

make page attachments private
This commit is contained in:
Philip Okugbe
2024-07-05 00:47:51 +01:00
committed by GitHub
6 changed files with 63 additions and 9 deletions

View File

@ -5,6 +5,7 @@ import { getBackendUrl } from "@/lib/config.ts";
const api: AxiosInstance = axios.create({
baseURL: getBackendUrl(),
withCredentials: true,
});
api.interceptors.request.use(