Sample server

1 view
Skip to first unread message

mcomella

unread,
Apr 11, 2013, 12:11:56 AM4/11/13
to cs132-m...@googlegroups.com
I wrote up a sample server that serves static files from frontend/. It currently integrates with Lucas' code after some path tinkering. Once that frontend code is commited, I'll be able to remove the required tinkering and submit a pull request.

Some things we have to think about:
  • The page has to tell our script what the address of the web service is. I thought of: 1) Store the info in <meta> tags (a little gross). 2) The embedder can override our configs through a JavaScript object that we specify the name of.
  • The page has to tell our script where the CSS file will be served from (or at the very least the prefix path); this could be in the form of the config above.

- Mike

Reply all
Reply to author
Forward
0 new messages