You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.