Add new endpoint

This commit is contained in:
Rafał Borcz 2024-05-25 16:49:21 +02:00 committed by GitHub
parent 90fd9b5278
commit 6bf7e934dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,8 +22,10 @@ fun main() {
vHeaders = ApiEndpointsVHeaders, vHeaders = ApiEndpointsVHeaders,
) )
val html = generateHtml(filteredMessages) val html = generateHtml(filteredMessages)
val end = json.encodeToString(mapOf("end" to false))
File("../dist/v1.json").writeText(messagesV1) File("../dist/v1.json").writeText(messagesV1)
File("../dist/end.json").writeText(end)
File("../dist/mapping1.json").writeText(mappingV1) File("../dist/mapping1.json").writeText(mappingV1)
File("../dist/mapping2.json").writeText(mappingV2) File("../dist/mapping2.json").writeText(mappingV2)
File("../dist/index.html").writeText(html) File("../dist/index.html").writeText(html)