Commit d3903331 authored by Panagiotis Skarvelis's avatar Panagiotis Skarvelis
Browse files

add production warning

parent bb408428
......@@ -11,7 +11,7 @@ Also provides a way for automating protocol numbers and transaction Id's, if you
import auditRecordDB from 'AuditRecordDB';
const main = () =>{
//returns generated AuditRecord, that record stored by default in `/tmp` folder
//returns generated AuditRecord, that record stored by default in `/tmp` folder SOULD change this for production
console.log(auditRecordDB({auditUnit:'DigiGov'}))
/*
{
......
......@@ -10,7 +10,7 @@ import FileEngine from './lib/FileEngine.js';
* @comment The audit record is stored in the database,
* @comment you can provide a custom audit record, or use the generated one
* @param auditInit - The audit record to be stored, if is empty a new one will be generated
* @param storagePath - The path where the audit record will be stored, default is the tmp directory
* @param storagePath - The path where the audit record will be stored, default is the tmp directory SOULD change this for production
* @env env.HOSTIP - useful to pass the IP address of the end user automatically on docker enviroments
* @returns AuditRecord | null - The audit record generated or the one provided
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment