feat(web): set up templ layout with tailwindcss 4.3 and axios
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
0af74267b9
commit
8ea459e5f1
10 files changed
+1702
No files matched your search
@@ -0,0 +1,8 @@
|
||||
(() => {
|
||||
const token = document.querySelector('meta[name="csrf-token"]')?.content;
|
||||
window.api = axios.create({
|
||||
baseURL: "/api/v1",
|
||||
headers: token ? { "X-CSRF-Token": token } : {},
|
||||
withCredentials: true,
|
||||
});
|
||||
})();
|
||||
Reference in new issue
Block a user