mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 08:37:56 +00:00
Fix: Correct README path for fetching config
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
updatedEl.dateTime = now.toISOString().split('T')[0];
|
updatedEl.dateTime = now.toISOString().split('T')[0];
|
||||||
|
|
||||||
const run = async () => {
|
const run = async () => {
|
||||||
const readme = await fetch('./README.md').then(r => r.text());
|
const readme = await fetch('./README').then(r => r.text());
|
||||||
const genTimes = await fetch('./results.json').then(r => r.json());
|
const genTimes = await fetch('./results.json').then(r => r.json());
|
||||||
const models = readme.match(/<!-- MODELS_START -->\n([\s\S]+?)\n<!-- MODELS_END -->/)[1].trim().split('\n');
|
const models = readme.match(/<!-- MODELS_START -->\n([\s\S]+?)\n<!-- MODELS_END -->/)[1].trim().split('\n');
|
||||||
const tests = ['1_dijkstra', '2_convex_hull', '3_lis', '4_determinant'];
|
const tests = ['1_dijkstra', '2_convex_hull', '3_lis', '4_determinant'];
|
||||||
|
|||||||
Reference in New Issue
Block a user