mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-07 10:16:24 -07:00
12 lines
No EOL
266 B
JavaScript
12 lines
No EOL
266 B
JavaScript
/* eslint no-unused-vars: ["warn", {"args":"none"}] */
|
|
/* global webroot */
|
|
|
|
import $ from "jquery";
|
|
|
|
export async function getThreadJSON(threadID, board) {
|
|
return $.ajax({
|
|
url: `${webroot}${board}/res/${threadID}.json`,
|
|
cache: false,
|
|
dataType: "json",
|
|
});
|
|
} |