This commit is contained in:
msyu
2024-10-23 11:17:42 +03:00
commit ab5c944862
380 changed files with 55823 additions and 0 deletions
@@ -0,0 +1,19 @@
<cfcomponent>
<cfscript>
//this application is entirely separate from the api;
//essentially, it might as well be running on another server.
this.name = hash(getCurrentTemplatePath());
function onApplicationStart(){
application.wsLoc = "http://#cgi.server_name#:#cgi.server_port#/taffy/examples/api/index.cfm";
}
function onRequestStart(){
if (structKeyExists(url, "reload") && url.reload == true){
onApplicationStart();
}
}
</cfscript>
</cfcomponent>