Added CSP support

This commit is contained in:
2022-04-09 20:40:34 +08:00
parent 5674f3936c
commit 06635acb72
3 changed files with 79 additions and 3 deletions
+2 -2
View File
@@ -166,12 +166,12 @@ class Dragonfly
Warning( mesg, visibility )
{
this.Log( mesg, Dragonfly.Spheres.HYDRO, visibility );
this.Log( "\x1b[33m" + mesg + "\x1b[0m", Dragonfly.Spheres.HYDRO, visibility );
}
Error( mesg, visibility )
{
this.Log( mesg, Dragonfly.Spheres.LITHO, visibility );
this.Log( "\x1b[31m" + mesg + "\x1b[0m", Dragonfly.Spheres.LITHO, visibility );
}
Log( mesg, sphere, visibility )