Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 使用SproutCore的特定URL_Javascript_Url_Sproutcore - Fatal编程技术网

Javascript 使用SproutCore的特定URL

Javascript 使用SproutCore的特定URL,javascript,url,sproutcore,Javascript,Url,Sproutcore,我正在SproutCore中创建一个应用程序,我想与Facebook集成。为此,我需要在/处创建一个名为xd_receiver.htm的文件(请参阅)。但是我如何才能做到这一点(因此可以在/xd_receiver.htm上找到它)?我正在使用sc服务器 谢谢。我认为直接使用sc server提供xd_receiver.htm文件是不可能的,但是您可以在构建文件中放置一个代理(请参阅中的“设置您的代理”),并将其指向提供xd_receiver.htm的其他web服务器(例如Apache) 对于生产

我正在SproutCore中创建一个应用程序,我想与Facebook集成。为此,我需要在
/
处创建一个名为
xd_receiver.htm
的文件(请参阅)。但是我如何才能做到这一点(因此可以在
/xd_receiver.htm
上找到它)?我正在使用sc服务器


谢谢。

我认为直接使用sc server提供xd_receiver.htm文件是不可能的,但是您可以在构建文件中放置一个代理(请参阅中的“设置您的代理”),并将其指向提供xd_receiver.htm的其他web服务器(例如Apache)

对于生产,出于性能原因,通常最好构建您的SproutCore应用程序(使用sc构建),然后使用Apache之类的优秀工具托管静态文件。然后,您可以将web服务器配置为在适当的URL处提供SproutCore应用程序和xd_receiver.htm