This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ABOUT_PAGE_H | |
#define ABOUT_PAGE_H | |
#include <ESP8266WebServer.h> | |
class AboutPage : public RequestHandler { | |
public: | |
AboutPage(const char* uri = "about") | |
: _uri(uri) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name your_server_name; | |
access_log /var/log/nginx/access.log; | |
location / { | |
proxy_pass http://localhost:1880; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function ( | |
Component: typeof SvelteComponent, | |
events?: { [svelteEvent: string]: string } | |
) { | |
return class { | |
$element: Element[]; | |
initialProps: { [key: string]: any }; | |
component: SvelteComponent; | |
constructor($element) { | |
'ngInject'; |