Attempt for project to document itself, and moving to live version of nextreg.txt
This commit is contained in:
@@ -160,7 +160,7 @@ function processRegisterBlock(paragraph: string, registers: Register[]) {
|
||||
}
|
||||
|
||||
export default async function RegisterDetailPage({ params }: { params: { hex: string } }) {
|
||||
const filePath = path.join(process.cwd(), 'data', 'nextreg_records.txt');
|
||||
const filePath = path.join(process.cwd(), 'data', 'nextreg.txt');
|
||||
const fileContent = await fs.readFile(filePath, 'utf8');
|
||||
const registers = await parseNextReg(fileContent);
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ function processRegisterBlock(paragraph: string, registers: Register[]) {
|
||||
|
||||
|
||||
export default async function RegistersPage() {
|
||||
const filePath = path.join(process.cwd(), 'data', 'nextreg_records.txt');
|
||||
const filePath = path.join(process.cwd(), 'data', 'nextreg.txt');
|
||||
const fileContent = await fs.readFile(filePath, 'utf8');
|
||||
const registers = await parseNextReg(fileContent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user