initial
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user