feat: 카드 오른쪽 위 X 버튼으로 링크 삭제

- DELETE /links/<id>: .env 의 DELETE_TOKEN 과 X-Delete-Token 헤더가 맞을 때만 삭제
- 처음 삭제할 때 관리 키를 묻고 브라우저에 기억, 틀리면 다시 묻는다
- 정적 파일에 버전 쿼리를 붙여 캐시된 옛 화면이 남지 않게 한다

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dsyoon
2026-11-06 11:43:28 +09:00
parent db04f25f4d
commit 187cbeacfa
4 changed files with 121 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
href="{{ url_for('static', filename='favicon.ico') }}"
type="image/x-icon"
/>
<link href="{{ url_for('static', filename='styles.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='styles.css') }}?v=20261106" rel="stylesheet" />
</head>
<body>
<div class="container py-4">
@@ -127,6 +127,6 @@
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="{{ url_for('static', filename='app.js') }}"></script>
<script src="{{ url_for('static', filename='app.js') }}?v=20261106"></script>
</body>
</html>