I hereby claim:
- I am petarblazevski on github.
- I am petarblazhevski (https://keybase.io/petarblazhevski) on keybase.
- I have a public key ASBN29FTXM2t_CF-CRKVoHeN7RMkKn6KbkPHYuPoc-hJMAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| MIT License | |
| Copyright (c) 2018 Noel Bundick | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| require('@remy/envy'); | |
| const express = require('express'); | |
| const next = require('next'); | |
| const dev = process.env.NODE_ENV !== 'production'; | |
| const app = next({ dev }); | |
| const handle = app.getRequestHandler(); | |
| app | |
| .prepare() | |
| .then(() => { |
| <VirtualHost *:80> | |
| # Host that will serve this project. | |
| ServerName app.dev | |
| # The location of our projects public directory. | |
| DocumentRoot /path/to/our/public | |
| # Useful logs for debug. | |
| CustomLog /path/to/access.log common |